]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/cda.py
New upstream version 2017.10.15.1
[youtubedl] / youtube_dl / extractor / cda.py
index 78b7a923c7809a363bf26dfb164dea706c3035f1..0c3af23d58270a9710c54e30a0eee7b375be562c 100755 (executable)
@@ -124,7 +124,7 @@ class CDAIE(InfoExtractor):
         }
 
         def extract_format(page, version):
-            json_str = self._search_regex(
+            json_str = self._html_search_regex(
                 r'player_data=(\\?["\'])(?P<player_data>.+?)\1', page,
                 '%s player_json' % version, fatal=False, group='player_data')
             if not json_str: