mirror of
https://codeberg.org/polarisfm/youtube-dl.git
synced 2024-12-25 09:11:34 +00:00
[mixcloud] Fix play info decryption (closes #13885)
This commit is contained in:
parent
1663bd6e1c
commit
92a5c41532
1 changed files with 2 additions and 1 deletions
|
@ -57,7 +57,8 @@ class MixcloudIE(InfoExtractor):
|
|||
def _decrypt_play_info(self, play_info, video_id):
|
||||
KEYS = (
|
||||
'pleasedontdownloadourmusictheartistswontgetpaid',
|
||||
'(function() { return new Date().toLocaleDateString(); })()'
|
||||
'window.addEventListener = window.addEventListener || function() {};',
|
||||
'(function() { return new Date().toLocaleDateString(); })()',
|
||||
)
|
||||
play_info = base64.b64decode(play_info.encode('ascii'))
|
||||
for num, key in enumerate(KEYS, start=1):
|
||||
|
|
Loading…
Reference in a new issue