projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
140a13f
)
[youtube] Unescape HTML for series (closes #18641)
author
Sergey M․
<dstftw@gmail.com>
Mon, 31 Dec 2018 12:57:01 +0000
(19:57 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Mon, 31 Dec 2018 12:57:01 +0000
(19:57 +0700)
youtube_dl/extractor/youtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youtube.py
b/youtube_dl/extractor/youtube.py
index ac3b4fc170d9f1f4b7500c530dea651b1c0e296d..539ff6ff2a35c141b2485c80836a0ff1c6f33982 100644
(file)
--- a/
youtube_dl/extractor/youtube.py
+++ b/
youtube_dl/extractor/youtube.py
@@
-2043,7
+2043,7
@@
class YoutubeIE(YoutubeBaseInfoExtractor):
r'<div[^>]+id="watch7-headline"[^>]*>\s*<span[^>]*>.*?>(?P<series>[^<]+)</a></b>\s*S(?P<season>\d+)\s*•\s*E(?P<episode>\d+)</span>',
video_webpage)
if m_episode:
- series =
m_episode.group('series'
)
+ series =
unescapeHTML(m_episode.group('series')
)
season_number = int(m_episode.group('season'))
episode_number = int(m_episode.group('episode'))
else: