Browse Source

[cwtv] fix episode number extraction(closes #20461)

master
Remita Amine 6 years ago
parent
commit
de74ef83b7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/cwtv.py

+ 1
- 1
youtube_dl/extractor/cwtv.py View File

@ -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…
Cancel
Save