aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/update.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2015-01-10 19:55:36 +0100
committerPhilipp Hagemeister <[email protected]>2015-01-10 19:56:51 +0100
commitbe4a824d74add1a3b78b8244dff12f4f078f168a (patch)
treef1dd3bb5d8625bdeec73a0ba62f6074173f6618b /youtube_dl/update.py
parent6ce08764a1faba3eeecbd2a04643f3266c8c5111 (diff)
downloadyoutube-dl-be4a824d74add1a3b78b8244dff12f4f078f168a.tar.gz
youtube-dl-be4a824d74add1a3b78b8244dff12f4f078f168a.zip
Add new option --source-address
Closes #3618, fixes #721, fixes #2481, fixes #4551, closes #1020.
Diffstat (limited to 'youtube_dl/update.py')
-rw-r--r--youtube_dl/update.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/update.py b/youtube_dl/update.py
index 3f9c5249d..d8be4049f 100644
--- a/youtube_dl/update.py
+++ b/youtube_dl/update.py
@@ -59,7 +59,7 @@ def update_self(to_screen, verbose):
to_screen('It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update.')
return
- https_handler = make_HTTPS_handler(False)
+ https_handler = make_HTTPS_handler({})
opener = compat_urllib_request.build_opener(https_handler)
# Check if there is a new version