kopia lustrzana https://github.com/yt-dlp/yt-dlp
[youtube] Fix episode metadata extraction
rodzic
583910682f
commit
affc4fefea
|
@ -3618,7 +3618,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
lambda x: x['superTitleIcon']['iconType']) == 'LOCATION_PIN':
|
lambda x: x['superTitleIcon']['iconType']) == 'LOCATION_PIN':
|
||||||
info['location'] = stl
|
info['location'] = stl
|
||||||
else:
|
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:
|
if mobj:
|
||||||
info.update({
|
info.update({
|
||||||
'series': mobj.group(1),
|
'series': mobj.group(1),
|
||||||
|
|
Ładowanie…
Reference in New Issue