X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fcbsinteractive.py;fp=youtube_dl%2Fextractor%2Fcbsinteractive.py;h=681d63e29222715a0bb0d45462169edde0787330;hb=03327bc9a62bba1e6181e22e0ada82fb2f087fb0;hp=86f7eee2053771b47c98a05c9fbc609121160fe3;hpb=b407d8533d3956a7c27ad42cbde9a877c36df72c;p=youtube-dl 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\.)?(?Pcnet|zdnet)\.com/(?:videos|video/share)/(?P[^/?]+)' + _VALID_URL = r'https?://(?:www\.)?(?Pcnet|zdnet)\.com/(?:videos|video(?:/share)?)/(?P[^/?]+)' _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 = {