logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 893a13df55d8eadbd64fd64e2f985d039b46facd
parent c34e358456fea1fffe9e3b14adc19137c04c8f26
Author: Ricardo Garcia <sarbalap+freshmeat@gmail.com>
Date:   Sun, 31 Oct 2010 15:46:58 +0100

Modify autoupdate URLs to match the ones from github.com

Diffstat:

Myoutube-dl4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/youtube-dl b/youtube-dl @@ -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)