diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2016-10-14 18:20:01 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2016-10-14 18:20:01 +0800 |
commit | a5f847314582d4464e587120c6e696399ff121cb (patch) | |
tree | d57678e6079de0d19c3e38c50f9bae3e6f00c351 /youtube_dl/extractor/cbsinteractive.py | |
parent | 580d41193169d004c94145ef03d5c53f06d5a57c (diff) |
[cbsinteractive] Fix extraction for cnet.com
Diffstat (limited to 'youtube_dl/extractor/cbsinteractive.py')
-rw-r--r-- | youtube_dl/extractor/cbsinteractive.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/cbsinteractive.py b/youtube_dl/extractor/cbsinteractive.py index 821db20b2..57b18e81d 100644 --- a/youtube_dl/extractor/cbsinteractive.py +++ b/youtube_dl/extractor/cbsinteractive.py @@ -63,7 +63,7 @@ class CBSInteractiveIE(ThePlatformIE): webpage = self._download_webpage(url, display_id) data_json = self._html_search_regex( - r"data-(?:cnet|zdnet)-video(?:-uvp)?-options='([^']+)'", + r"data-(?:cnet|zdnet)-video(?:-uvp(?:js)?)?-options='([^']+)'", webpage, 'data json') data = self._parse_json(data_json, display_id) vdata = data.get('video') or data['videos'][0] |