1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-20 23:02:52 +08:00

[vrt] Extend _VALUD_URL

This commit is contained in:
Sergey M․ 2016-01-05 01:58:25 +06:00
parent 33cee6c7f6
commit 18c782ab26

View File

@ -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):