diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2015-03-03 00:03:06 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2015-03-03 00:03:06 +0100 |
commit | 91410c9bfa9fd8f01fb817474bcc7b0db5cabf95 (patch) | |
tree | f945f83ed897b9546e3a82dca31195684781b03d /youtube_dl/options.py | |
parent | a7440261c52d6518a429210aaae598095112c61b (diff) |
[letv] Add --cn-verification-proxy (Closes #5077)
Diffstat (limited to 'youtube_dl/options.py')
-rw-r--r-- | youtube_dl/options.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/youtube_dl/options.py b/youtube_dl/options.py index df2be7b74..a4ca8adc4 100644 --- a/youtube_dl/options.py +++ b/youtube_dl/options.py @@ -195,6 +195,12 @@ def parseOpts(overrideArguments=None): action='store_const', const='::', dest='source_address', help='Make all connections via IPv6 (experimental)', ) + network.add_option( + '--cn-verification-proxy', + dest='cn_verification_proxy', default=None, metavar='URL', + help='Use this proxy to verify the IP address for some Chinese sites. ' + 'The default proxy specified by --proxy (or none, if the options is not present) is used for the actual downloading. (experimental)' + ) selection = optparse.OptionGroup(parser, 'Video Selection') selection.add_option( |