Browse Source

[cda] Fix extraction (closes #13935)

master-ytdl-org
Yen Chi Hsuan 7 years ago
parent
commit
f8f18f332f
No known key found for this signature in database GPG Key ID: 3FDDD575826C5C30
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      ChangeLog
  2. +1
    -1
      youtube_dl/extractor/cda.py

+ 1
- 0
ChangeLog View File

@ -1,6 +1,7 @@
version <unreleased>
Core
* [cda] Fix extraction (closes #13935)
* [utils] Fix unescapeHTML for misformed string like "&a&quot;" (#13935)


+ 1
- 1
youtube_dl/extractor/cda.py View File

@ -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…
Cancel
Save