aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/animeondemand.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-09-11 04:22:55 +0700
committerSergey M․ <dstftw@gmail.com>2017-09-11 04:23:42 +0700
commit018cc61549f417cf1e88af46ff68a17b75e62630 (patch)
treed3270a02784c2c525f6cf7aa37fb30be9b6d8690 /youtube_dl/extractor/animeondemand.py
parent2709d9fa28155f7abc84d3b57ce4491391d185ab (diff)
downloadyoutube-dl-018cc61549f417cf1e88af46ff68a17b75e62630.zip
youtube-dl-018cc61549f417cf1e88af46ff68a17b75e62630.tar.gz
youtube-dl-018cc61549f417cf1e88af46ff68a17b75e62630.tar.bz2
[animeondemand] Bypass geo restriction
Diffstat (limited to 'youtube_dl/extractor/animeondemand.py')
-rw-r--r--youtube_dl/extractor/animeondemand.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/animeondemand.py b/youtube_dl/extractor/animeondemand.py
index c225307..2a1cd65 100644
--- a/youtube_dl/extractor/animeondemand.py
+++ b/youtube_dl/extractor/animeondemand.py
@@ -21,6 +21,8 @@ class AnimeOnDemandIE(InfoExtractor):
_LOGIN_URL = 'https://www.anime-on-demand.de/users/sign_in'
_APPLY_HTML5_URL = 'https://www.anime-on-demand.de/html5apply'
_NETRC_MACHINE = 'animeondemand'
+ # German-speaking countries of Europe
+ _GEO_COUNTRIES = ['AT', 'CH', 'DE', 'LI', 'LU']
_TESTS = [{
# jap, OmU
'url': 'https://www.anime-on-demand.de/anime/161',