Adding proxy to update procedure

This commit is contained in:
David Ben Zakai
2015-11-10 16:31:31 +02:00
parent 37ca7b22b5
commit d3d3e2e3aa
3 changed files with 6 additions and 6 deletions

View File

@ -377,7 +377,7 @@ def _real_main(argv=None):
with YoutubeDL(ydl_opts) as ydl:
# Update version
if opts.update_self:
update_self(ydl.to_screen, opts.verbose)
update_self(ydl.to_screen, opts.verbose, ydl.get_opener())
# Remove cache dir
if opts.rm_cachedir: