aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/cnet.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/cnet.py')
-rw-r--r--youtube_dl/extractor/cnet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/cnet.py b/youtube_dl/extractor/cnet.py
index f5ab443d2..a94f42571 100644
--- a/youtube_dl/extractor/cnet.py
+++ b/youtube_dl/extractor/cnet.py
@@ -33,7 +33,7 @@ class CNETIE(InfoExtractor):
webpage = self._download_webpage(url, display_id)
data_json = self._html_search_regex(
- r"<div class=\"cnetVideoPlayer\" data-cnet-video-options='([^']+)'",
+ r"<div class=\"cnetVideoPlayer\"\s+.*?data-cnet-video-options='([^']+)'",
webpage, 'data json')
data = json.loads(data_json)
vdata = data['video']