projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cb1080
)
[cwtv] fix episode number extraction(closes #20461)
author
Remita Amine
<remitamine@gmail.com>
Wed, 27 Mar 2019 17:01:51 +0000
(18:01 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Wed, 27 Mar 2019 17:01:51 +0000
(18:01 +0100)
youtube_dl/extractor/cwtv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/cwtv.py
b/youtube_dl/extractor/cwtv.py
index f9bd535f6d228b137b78e90a765f1042c0f5c925..73382431b7c8dccf35d118b5506bfb38b29a9804 100644
(file)
--- a/
youtube_dl/extractor/cwtv.py
+++ b/
youtube_dl/extractor/cwtv.py
@@
-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',