|
|
|
@ -38,7 +38,7 @@ def rsa_verify(message, signature, key):
|
|
|
|
|
|
|
|
|
|
sys.stderr.write(u'Hi! We changed distribution method and now youtube-dl needs to update itself one more time.\n')
|
|
|
|
|
sys.stderr.write(u'This will only happen once. Simply press enter to go on. Sorry for the trouble!\n')
|
|
|
|
|
sys.stderr.write(u'From now on, get the binaries from http://rg3.github.com/youtube-dl/download.html, not from the git repository.\n\n')
|
|
|
|
|
sys.stderr.write(u'From now on, get the binaries from http://rg3.github.io/youtube-dl/download.html, not from the git repository.\n\n')
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
|
raw_input()
|
|
|
|
@ -47,7 +47,7 @@ except NameError: # Python 3
|
|
|
|
|
|
|
|
|
|
filename = sys.argv[0]
|
|
|
|
|
|
|
|
|
|
UPDATE_URL = "http://rg3.github.com/youtube-dl/update/"
|
|
|
|
|
UPDATE_URL = "http://rg3.github.io/youtube-dl/update/"
|
|
|
|
|
VERSION_URL = UPDATE_URL + 'LATEST_VERSION'
|
|
|
|
|
JSON_URL = UPDATE_URL + 'versions.json'
|
|
|
|
|
UPDATES_RSA_KEY = (0x9d60ee4d8f805312fdb15a62f87b95bd66177b91df176765d13514a0f1754bcd2057295c5b6f1d35daa6742c3ffc9a82d3e118861c207995a8031e151d863c9927e304576bc80692bc8e094896fcf11b66f3e29e04e3a71e9a11558558acea1840aec37fc396fb6b65dc81a1c4144e03bd1c011de62e3f1357b327d08426fe93, 65537)
|
|
|
|
|