From: Sergey M․ Date: Sun, 10 Sep 2017 21:22:55 +0000 (+0700) Subject: [animeondemand] Bypass geo restriction X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=018cc61549f417cf1e88af46ff68a17b75e62630;p=youtube-dl [animeondemand] Bypass geo restriction --- diff --git a/youtube_dl/extractor/animeondemand.py b/youtube_dl/extractor/animeondemand.py index c22530778..2a1cd6520 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',