projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2709d9f
)
[animeondemand] Bypass geo restriction
author
Sergey M․
<dstftw@gmail.com>
Sun, 10 Sep 2017 21:22:55 +0000
(
04:22
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 10 Sep 2017 21:23:42 +0000
(
04:23
+0700)
youtube_dl/extractor/animeondemand.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/animeondemand.py
b/youtube_dl/extractor/animeondemand.py
index c22530778ead04b2da07021a2e619f69d1cbafb1..2a1cd652025c6cce727bbdcd4c9c2d0a7a6a81cd 100644
(file)
--- 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',