diff options
author | Remita Amine <remitamine@gmail.com> | 2017-02-13 15:08:48 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2017-02-13 15:08:48 +0100 |
commit | 89c6691f9d130ec63552a6ece4743caa572fc962 (patch) | |
tree | 86903e64b7556aa059241fa2af5e433333af54bb /youtube_dl/extractor/bellmedia.py | |
parent | 454e5cdb17dd4e77f3d387045b083f3d3ed61ae0 (diff) |
[bellmedia] accept longer video id(closes #12114)
Diffstat (limited to 'youtube_dl/extractor/bellmedia.py')
-rw-r--r-- | youtube_dl/extractor/bellmedia.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/bellmedia.py b/youtube_dl/extractor/bellmedia.py index 32326ed9e..1f5b6ed92 100644 --- a/youtube_dl/extractor/bellmedia.py +++ b/youtube_dl/extractor/bellmedia.py @@ -24,7 +24,7 @@ class BellMediaIE(InfoExtractor): space )\.ca| much\.com - )/.*?(?:\bvid=|-vid|~|%7E|/(?:episode)?)(?P<id>[0-9]{6})''' + )/.*?(?:\bvid=|-vid|~|%7E|/(?:episode)?)(?P<id>[0-9]{6,})''' _TESTS = [{ 'url': 'http://www.ctv.ca/video/player?vid=706966', 'md5': 'ff2ebbeae0aa2dcc32a830c3fd69b7b0', @@ -55,6 +55,9 @@ class BellMediaIE(InfoExtractor): }, { 'url': 'http://www.much.com/shows/the-almost-impossible-gameshow/928979/episode-6', 'only_matching': True, + }, { + 'url': 'http://www.ctv.ca/DCs-Legends-of-Tomorrow/Video/S2E11-Turncoat-vid1051430', + 'only_matching': True, }] _DOMAINS = { 'thecomedynetwork': 'comedy', |