aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-12-03 13:33:07 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2013-12-03 13:33:07 +0100
commitcf6758d2040816033ec47afe9c1d497e4c2abd4d (patch)
treeb78215b839ed63ae7dd3af99e5cc364b3f82423c
parent731e3dde299844fc3b0f369d5a161fa4df0eb718 (diff)
downloadyoutube-dl-cf6758d2040816033ec47afe9c1d497e4c2abd4d.tar.xz
Document disabling proxy (#1882)
-rw-r--r--youtube_dl/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index fff295e8c..d2446b670 100644
--- a/youtube_dl/__init__.py
+++ b/youtube_dl/__init__.py
@@ -191,7 +191,9 @@ def parseOpts(overrideArguments=None):
general.add_option('--extractor-descriptions',
action='store_true', dest='list_extractor_descriptions',
help='Output descriptions of all supported extractors', default=False)
- general.add_option('--proxy', dest='proxy', default=None, help='Use the specified HTTP/HTTPS proxy', metavar='URL')
+ general.add_option(
+ '--proxy', dest='proxy', default=None, metavar='URL',
+ help='Use the specified HTTP/HTTPS proxy. Pass in an empty string (--proxy "") for direct connection')
general.add_option('--no-check-certificate', action='store_true', dest='no_check_certificate', default=False, help='Suppress HTTPS certificate validation.')
general.add_option(
'--cache-dir', dest='cachedir', default=get_cachedir(), metavar='DIR',