diff options
author | Vijay Singh <sudovijay@users.noreply.github.com> | 2017-08-26 18:02:57 +0530 |
---|---|---|
committer | Sergey M <dstftw@gmail.com> | 2017-08-26 19:32:57 +0700 |
commit | 151978f38a915afd0169e68955b3b7394c54e367 (patch) | |
tree | e95cb6d4fdfc83f228dffc5461e4c87557d39b42 /youtube_dl | |
parent | c7121fa7b804d2b9e35dec05f8861e4ebba8afd2 (diff) |
[mixcloud] Fix extraction (closes #14020)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/mixcloud.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/mixcloud.py b/youtube_dl/extractor/mixcloud.py index 25d3fc4b3..f6360cce6 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<key>(?:(?!\1).)+)\1' - for key_name in ('value', 'key_value', 'key_value_two'): + for key_name in ('value', 'key_value', 'key_value.*?', '.*?value.*?'): key = self._search_regex( KEY_RE_TEMPLATE % key_name, js, 'key', default=None, group='key') |