From: Vijay Singh Date: Thu, 24 Aug 2017 15:28:44 +0000 (+0530) Subject: [mixcloud] Fix extraction (closes #14015) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=745968bc72f5dcf1271559d58abd3f0d9a2ea01e;p=youtube-dl [mixcloud] Fix extraction (closes #14015) --- diff --git a/youtube_dl/extractor/mixcloud.py b/youtube_dl/extractor/mixcloud.py index 798968ae3..25d3fc4b3 100644 --- a/youtube_dl/extractor/mixcloud.py +++ b/youtube_dl/extractor/mixcloud.py @@ -92,7 +92,7 @@ class MixcloudIE(InfoExtractor): js = self._download_webpage(js_url, track_id, fatal=False) if js: KEY_RE_TEMPLATE = r'player\s*:\s*{.*?\b%s\s*:\s*(["\'])(?P(?:(?!\1).)+)\1' - for key_name in ('value', 'key_value'): + for key_name in ('value', 'key_value', 'key_value_two'): key = self._search_regex( KEY_RE_TEMPLATE % key_name, js, 'key', default=None, group='key')