mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-25 03:32:05 +00:00
[youtube] Unescape HTML for series (closes #18641)
This commit is contained in:
parent
140a13f5de
commit
c2dd2dc086
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue