]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[animeondemand] Bypass geo restriction
authorSergey M․ <dstftw@gmail.com>
Sun, 10 Sep 2017 21:22:55 +0000 (04:22 +0700)
committerSergey M․ <dstftw@gmail.com>
Sun, 10 Sep 2017 21:23:42 +0000 (04:23 +0700)
youtube_dl/extractor/animeondemand.py

index c22530778ead04b2da07021a2e619f69d1cbafb1..2a1cd652025c6cce727bbdcd4c9c2d0a7a6a81cd 100644 (file)
@@ -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',