diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-01-05 01:58:25 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-01-05 01:58:25 +0600 |
commit | 18c782ab26a53958a7d54d39e06eba0cd920178b (patch) | |
tree | 37714fb33488c0e3da2abd3dee2c3850f7446f41 /youtube_dl/extractor/vrt.py | |
parent | 33cee6c7f6260dd33a9fbafd9f374c70454ff0f3 (diff) |
[vrt] Extend _VALUD_URL
Diffstat (limited to 'youtube_dl/extractor/vrt.py')
-rw-r--r-- | youtube_dl/extractor/vrt.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/youtube_dl/extractor/vrt.py b/youtube_dl/extractor/vrt.py index bbd3bbf7b..ee158b7b3 100644 --- a/youtube_dl/extractor/vrt.py +++ b/youtube_dl/extractor/vrt.py @@ -8,7 +8,7 @@ from ..utils import float_or_none class VRTIE(InfoExtractor): - _VALID_URL = r'https?://(?:deredactie|sporza|cobra)\.be/cm/(?:[^/]+/)+(?P<id>[^/]+)/*' + _VALID_URL = r'https?://(?:deredactie|sporza|cobra(?:\.canvas)?)\.be/cm/(?:[^/]+/)+(?P<id>[^/]+)/*' _TESTS = [ # deredactie.be { @@ -52,6 +52,10 @@ class VRTIE(InfoExtractor): 'duration': 661, } }, + { + 'url': 'http://cobra.canvas.be/cm/cobra/videozone/rubriek/film-videozone/1.2377055', + 'only_matching': True, + } ] def _real_extract(self, url): |