mirror of
https://gitlab.com/dstftw/youtube-dl.git
synced 2020-11-16 09:42:26 +00:00
[cda] Fix extraction (closes #13935)
This commit is contained in:
parent
95f3f7c20a
commit
f8f18f332f
|
@ -1,6 +1,7 @@
|
|||
version <unreleased>
|
||||
|
||||
Core
|
||||
* [cda] Fix extraction (closes #13935)
|
||||
* [utils] Fix unescapeHTML for misformed string like "&a"" (#13935)
|
||||
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue