mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05:00
[youtube] Fix episode metadata extraction
This commit is contained in:
parent
583910682f
commit
affc4fefea
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue