aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/cda.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2017-08-19 21:44:47 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2017-08-19 21:44:47 +0800
commitf8f18f332f235bcfa2f8fc161887e0eef283fec0 (patch)
tree47fa7461c4e619a5d7984d532c3436a3cbfded45 /youtube_dl/extractor/cda.py
parent95f3f7c20a05e7ac490e768b8470b20538ef8581 (diff)
[cda] Fix extraction (closes #13935)
Diffstat (limited to 'youtube_dl/extractor/cda.py')
-rwxr-xr-xyoutube_dl/extractor/cda.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/cda.py b/youtube_dl/extractor/cda.py
index 78b7a923c..0c3af23d5 100755
--- a/youtube_dl/extractor/cda.py
+++ b/youtube_dl/extractor/cda.py
@@ -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: