diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2017-08-19 21:44:47 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2017-08-19 21:44:47 +0800 |
commit | f8f18f332f235bcfa2f8fc161887e0eef283fec0 (patch) | |
tree | 47fa7461c4e619a5d7984d532c3436a3cbfded45 | |
parent | 95f3f7c20a05e7ac490e768b8470b20538ef8581 (diff) |
[cda] Fix extraction (closes #13935)
-rw-r--r-- | ChangeLog | 1 | ||||
-rwxr-xr-x | youtube_dl/extractor/cda.py | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ version <unreleased> Core +* [cda] Fix extraction (closes #13935) * [utils] Fix unescapeHTML for misformed string like "&a"" (#13935) 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: |