mirror of
https://github.com/soimort/you-get.git
synced 2025-02-03 00:33:58 +03:00
fix unicode literal for Python 3.2
This commit is contained in:
parent
da66e127b8
commit
9854825ee7
@ -95,7 +95,7 @@ def decrypt_signature(s):
|
|||||||
elif len(s) == 82:
|
elif len(s) == 82:
|
||||||
return s[36] + s[79:67:-1] + s[81] + s[66:40:-1] + s[33] + s[39:36:-1] + s[40] + s[35] + s[0] + s[67] + s[32:0:-1] + s[34]
|
return s[36] + s[79:67:-1] + s[81] + s[66:40:-1] + s[33] + s[39:36:-1] + s[40] + s[35] + s[0] + s[67] + s[32:0:-1] + s[34]
|
||||||
else:
|
else:
|
||||||
raise Exception(u'Unable to decrypt signature, key length %d not supported; retrying might work' % (len(s)))
|
raise Exception('Unable to decrypt signature, key length %d not supported; retrying might work' % (len(s)))
|
||||||
|
|
||||||
def youtube_download_by_id(id, title = None, output_dir = '.', merge = True, info_only = False):
|
def youtube_download_by_id(id, title = None, output_dir = '.', merge = True, info_only = False):
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user