projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33cee6c
)
[vrt] Extend _VALUD_URL
author
Sergey M․
<dstftw@gmail.com>
Mon, 4 Jan 2016 19:58:25 +0000
(
01:58
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Mon, 4 Jan 2016 19:58:25 +0000
(
01:58
+0600)
youtube_dl/extractor/vrt.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vrt.py
b/youtube_dl/extractor/vrt.py
index bbd3bbf7bad98c787c0840ed0f302198ebb7932a..ee158b7b36f13c3747ccbd23701373a08ff4780d 100644
(file)
--- 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):