diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-04-05 22:27:33 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-04-05 22:27:33 +0600 |
commit | 65150b41bb3055820938c3c572ccb2ffd9f312aa (patch) | |
tree | 7e34f705c2a0cb0b505609fa2e5e16a5681bb049 /youtube_dl/extractor | |
parent | e42f413716de822918356d15b0cb3c66608681b5 (diff) |
[deezer] Fix extraction (Closes #9086)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/deezer.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dl/extractor/deezer.py b/youtube_dl/extractor/deezer.py index c3205ff5f..7a07f3267 100644 --- a/youtube_dl/extractor/deezer.py +++ b/youtube_dl/extractor/deezer.py @@ -41,7 +41,9 @@ class DeezerPlaylistIE(InfoExtractor): 'Deezer said: %s' % geoblocking_msg, expected=True) data_json = self._search_regex( - r'naboo\.display\(\'[^\']+\',\s*(.*?)\);\n', webpage, 'data JSON') + (r'__DZR_APP_STATE__\s*=\s*({.+?})\s*</script>', + r'naboo\.display\(\'[^\']+\',\s*(.*?)\);\n'), + webpage, 'data JSON') data = json.loads(data_json) playlist_title = data.get('DATA', {}).get('TITLE') |