[youtube] Fix episode metadata extraction

pull/3438/head
coletdjnz 3 years ago
parent 583910682f
commit affc4fefea
No known key found for this signature in database
GPG Key ID: 91984263BB39894A

@ -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),

Loading…
Cancel
Save