projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[youtube] Add another signature function pattern
[youtube-dl]
/
youtube_dl
/
extractor
/
cwtv.py
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',