diff options
author | Sergey M․ <dstftw@gmail.com> | 2018-12-31 19:57:01 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2018-12-31 19:57:01 +0700 |
commit | c2dd2dc086653f46defe0bc6bee9b5e339e67dea (patch) | |
tree | ea58697e6a43ebd5cf622a94e4daea8cf99693ef /youtube_dl | |
parent | 140a13f5de1ff8e6bf7ba0d27b38063a2b20fa33 (diff) |
[youtube] Unescape HTML for series (closes #18641)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/youtube.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index ac3b4fc17..539ff6ff2 100644 --- 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: |