Browse Source

[cbsinteractive] Relax _VALID_URL (closes #13213)

master-ytdl-org
Sergey M․ 7 years ago
parent
commit
03327bc9a6
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      youtube_dl/extractor/cbsinteractive.py

+ 4
- 1
youtube_dl/extractor/cbsinteractive.py View File

@ -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 = {


Loading…
Cancel
Save