aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcoletdjnz <coletdjnz@protonmail.com>2022-04-15 16:22:03 +1200
committercoletdjnz <coletdjnz@protonmail.com>2022-04-15 16:22:03 +1200
commitaffc4fefea9119f132cc757a6d9e797f3b03e448 (patch)
tree839841c187fcfdb7f3f4bc6145c4f7c3f602d42d
parent583910682f75022b13fbc3ca21a1f5a04ce5599b (diff)
downloadhypervideo-pre-affc4fefea9119f132cc757a6d9e797f3b03e448.tar.lz
hypervideo-pre-affc4fefea9119f132cc757a6d9e797f3b03e448.tar.xz
hypervideo-pre-affc4fefea9119f132cc757a6d9e797f3b03e448.zip
[youtube] Fix episode metadata extraction
-rw-r--r--yt_dlp/extractor/youtube.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/youtube.py b/yt_dlp/extractor/youtube.py
index dee1b2315..431230948 100644
--- a/yt_dlp/extractor/youtube.py
+++ b/yt_dlp/extractor/youtube.py
@@ -3618,7 +3618,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
lambda x: x['superTitleIcon']['iconType']) == 'LOCATION_PIN':
info['location'] = stl
else:
- mobj = re.search(r'(.+?)\s*S(\d+)\s*•\s*E(\d+)', stl)
+ mobj = re.search(r'(.+?)\s*S(\d+)\s*•?\s*E(\d+)', stl)
if mobj:
info.update({
'series': mobj.group(1),