Modify autoupdate URLs to match the ones from github.com
authorRicardo Garcia <sarbalap+freshmeat@gmail.com>
Sun, 31 Oct 2010 14:46:58 +0000 (15:46 +0100)
committerRicardo Garcia <sarbalap+freshmeat@gmail.com>
Sun, 31 Oct 2010 14:46:58 +0000 (15:46 +0100)
youtube-dl

index 466b506b5fc93af86e5c18b9a569a43c9d474dde..f445c4de6e9c0186e6cae2e8002fbf0457c7cb08 100755 (executable)
@@ -2095,9 +2095,9 @@ if __name__ == '__main__':
                                sys.exit('ERROR: no write permissions on %s' % filename)
 
                        downloader.to_screen('Updating to latest stable version...')
-                       latest_url = 'http://bitbucket.org/rg3/youtube-dl/raw/tip/LATEST_VERSION'
+                       latest_url = 'http://github.com/rg3/youtube-dl/raw/master/LATEST_VERSION'
                        latest_version = urllib.urlopen(latest_url).read().strip()
-                       prog_url = 'http://bitbucket.org/rg3/youtube-dl/raw/%s/youtube-dl' % latest_version
+                       prog_url = 'http://github.com/rg3/youtube-dl/raw/%s/youtube-dl' % latest_version
                        newcontent = urllib.urlopen(prog_url).read()
                        stream = open(filename, 'w')
                        stream.write(newcontent)