mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-27 06:10:38 +01:00
[cwtv] fix episode number extraction(closes #20461)
This commit is contained in:
parent
8cb10807ed
commit
de74ef83b7
|
@ -79,7 +79,7 @@ class CWTVIE(InfoExtractor):
|
|||
season = str_or_none(video_data.get('season'))
|
||||
episode = str_or_none(video_data.get('episode'))
|
||||
if episode and season:
|
||||
episode = episode.lstrip(season)
|
||||
episode = episode[len(season):]
|
||||
|
||||
return {
|
||||
'_type': 'url_transparent',
|
||||
|
|
Loading…
Reference in New Issue
Block a user