A feature-rich command-line audio/video downloader
Update: Write downloaded file without modification (allows hashsums)
Philipp Hagemeister5f9f2b739678
diff --git a/youtube-dl b/youtube-dlindex 3d43355c75..11d8ca01c2 100755--- a/youtube-dl+++ b/youtube-dl@@ -2965,7 +2965,7 @@ def updateSelf(downloader, filename):sys.exit('ERROR: unable to download latest version')try:- stream = open(filename, 'w')+ stream = open(filename, 'wb')stream.write(newcontent)stream.close()except (IOError, OSError), err: