projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df235db
)
[mixcloud] Fix extraction (closes #14015)
author
Vijay Singh
<sudovijay@users.noreply.github.com>
Thu, 24 Aug 2017 15:28:44 +0000
(20:58 +0530)
committer
Sergey M
<dstftw@gmail.com>
Thu, 24 Aug 2017 15:28:44 +0000
(22:28 +0700)
youtube_dl/extractor/mixcloud.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/mixcloud.py
b/youtube_dl/extractor/mixcloud.py
index 798968ae3dd8a7c16ede20eb7e328c848e61b8b9..25d3fc4b3bb27d122939cfcf2f08bb9d49bb3c27 100644
(file)
--- 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'):
+ 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')