mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-21 13:54:22 -07:00
Adding proxy to update procedure
This commit is contained in:
parent
37ca7b22b5
commit
d3d3e2e3aa
3 changed files with 6 additions and 6 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue