commit 018cc61549f417cf1e88af46ff68a17b75e62630
parent 2709d9fa28155f7abc84d3b57ce4491391d185ab
Author: Sergey M․ <dstftw@gmail.com>
Date: Mon, 11 Sep 2017 04:22:55 +0700
[animeondemand] Bypass geo restriction
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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',