From affc4fefea9119f132cc757a6d9e797f3b03e448 Mon Sep 17 00:00:00 2001 From: coletdjnz Date: Fri, 15 Apr 2022 16:22:03 +1200 Subject: [PATCH] [youtube] Fix episode metadata extraction --- yt_dlp/extractor/youtube.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ def process_language(container, base_url, lang_code, sub_name, query): 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),