Merge remote-tracking branch 'hojel/slutload'
[youtube-dl] / youtube_dl / extractor / cnet.py
index f5ab443d2d06fbdf027b7a58655497d1406fd321..a94f42571746f21cc70ba2527e661952caca1c6f 100644 (file)
@@ -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']