From: Sergey M․ Date: Mon, 31 Dec 2018 12:57:01 +0000 (+0700) Subject: [youtube] Unescape HTML for series (closes #18641) X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=c2dd2dc086653f46defe0bc6bee9b5e339e67dea;p=youtube-dl [youtube] Unescape HTML for series (closes #18641) --- 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']+id="watch7-headline"[^>]*>\s*]*>.*?>(?P[^<]+)\s*S(?P\d+)\s*•\s*E(?P\d+)', 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: