aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-10-14 18:20:01 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-10-14 18:20:01 +0800
commita5f847314582d4464e587120c6e696399ff121cb (patch)
treed57678e6079de0d19c3e38c50f9bae3e6f00c351 /youtube_dl/extractor
parent580d41193169d004c94145ef03d5c53f06d5a57c (diff)
[cbsinteractive] Fix extraction for cnet.com
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/cbsinteractive.py2
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]