]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/cda.py
d/rules: Drop makefile mangling
[youtubedl] / youtube_dl / extractor / cda.py
old mode 100755 (executable)
new mode 100644 (file)
index 78b7a92..0c3af23
@@ -124,7 +124,7 @@ class CDAIE(InfoExtractor):
         }
 
         def extract_format(page, version):
         }
 
         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:
                 r'player_data=(\\?["\'])(?P<player_data>.+?)\1', page,
                 '%s player_json' % version, fatal=False, group='player_data')
             if not json_str: