aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-05-27 22:36:58 +0700
committerSergey M․ <dstftw@gmail.com>2017-05-27 22:37:24 +0700
commit03327bc9a62bba1e6181e22e0ada82fb2f087fb0 (patch)
tree19063fda89e5ecb8334ca123611c0104e13a9138 /youtube_dl/extractor
parentb407d8533d3956a7c27ad42cbde9a877c36df72c (diff)
[cbsinteractive] Relax _VALID_URL (closes #13213)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/cbsinteractive.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/cbsinteractive.py b/youtube_dl/extractor/cbsinteractive.py
index 86f7eee20..681d63e29 100644
--- a/youtube_dl/extractor/cbsinteractive.py
+++ b/youtube_dl/extractor/cbsinteractive.py
@@ -8,7 +8,7 @@ from ..utils import int_or_none
class CBSInteractiveIE(CBSIE):
- _VALID_URL = r'https?://(?:www\.)?(?P<site>cnet|zdnet)\.com/(?:videos|video/share)/(?P<id>[^/?]+)'
+ _VALID_URL = r'https?://(?:www\.)?(?P<site>cnet|zdnet)\.com/(?:videos|video(?:/share)?)/(?P<id>[^/?]+)'
_TESTS = [{
'url': 'http://www.cnet.com/videos/hands-on-with-microsofts-windows-8-1-update/',
'info_dict': {
@@ -60,6 +60,9 @@ class CBSInteractiveIE(CBSIE):
# m3u8 download
'skip_download': True,
},
+ }, {
+ 'url': 'http://www.zdnet.com/video/huawei-matebook-x-video/',
+ 'only_matching': True,
}]
MPX_ACCOUNTS = {