aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/YoutubeDL.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-02-19 01:53:41 +0700
committerSergey M <dstftw@gmail.com>2017-02-19 05:10:08 +0800
commit0a840f584c3f1fedb6957c05587dec697143f2d5 (patch)
tree553633b925896d96c2224f65922a73ff38f6f27a /youtube_dl/YoutubeDL.py
parent0016b84e16965a07c52946c4672363153e8b18a2 (diff)
downloadyoutube-dl-0a840f584c3f1fedb6957c05587dec697143f2d5.tar.xz
Rename bypass geo restriction options
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
-rwxr-xr-xyoutube_dl/YoutubeDL.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py
index 1c04e46c1..68000dea2 100755
--- a/youtube_dl/YoutubeDL.py
+++ b/youtube_dl/YoutubeDL.py
@@ -274,10 +274,9 @@ class YoutubeDL(object):
If it returns None, the video is downloaded.
match_filter_func in utils.py is one example for this.
no_color: Do not emit color codes in output.
- bypass_geo_restriction:
- Bypass geographic restriction via faking X-Forwarded-For
+ geo_bypass: Bypass geographic restriction via faking X-Forwarded-For
HTTP header (experimental)
- bypass_geo_restriction_as_country:
+ geo_bypass_country:
Two-letter ISO 3166-2 country code that will be used for
explicit geographic restriction bypassing via faking
X-Forwarded-For HTTP header (experimental)