Improve geo bypass mechanism
authorSergey M․ <dstftw@gmail.com>
Sat, 18 Feb 2017 20:53:23 +0000 (03:53 +0700)
committerSergey M <dstftw@gmail.com>
Sat, 18 Feb 2017 21:10:08 +0000 (05:10 +0800)
commit4248dad92bd87650c791194276296b148f668e68
treee4c26e41802f4119b67830a61976c39c494b377e
parent0a840f584c3f1fedb6957c05587dec697143f2d5
Improve geo bypass mechanism
* Rename options to preffixly match with --geo-verification-proxy
* Introduce _GEO_COUNTRIES for extractors
* Implement faking IP right away for sites with known geo restriction
13 files changed:
youtube_dl/extractor/common.py
youtube_dl/extractor/dramafever.py
youtube_dl/extractor/go.py
youtube_dl/extractor/itv.py
youtube_dl/extractor/nrk.py
youtube_dl/extractor/ondemandkorea.py
youtube_dl/extractor/pbs.py
youtube_dl/extractor/srgssr.py
youtube_dl/extractor/svt.py
youtube_dl/extractor/vbox7.py
youtube_dl/extractor/vgtv.py
youtube_dl/extractor/viki.py
youtube_dl/utils.py