aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor/animeondemand.py
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2016-03-17 23:50:10 +0600
committerSergey M․ <[email protected]>2016-03-17 23:50:10 +0600
commitb57fecfdddc78b5ef5cfd1c3302f7b79ab1bf64f (patch)
tree47f2e2f7ba31818c8722ea2b9623c25d8b07711f /youtube_dl/extractor/animeondemand.py
parent8c97e7efb6ab273f0b7c91f0aa9ac6869c911bf1 (diff)
downloadyoutube-dl-b57fecfdddc78b5ef5cfd1c3302f7b79ab1bf64f.tar.gz
youtube-dl-b57fecfdddc78b5ef5cfd1c3302f7b79ab1bf64f.zip
[animeondemand] Add test
Diffstat (limited to 'youtube_dl/extractor/animeondemand.py')
-rw-r--r--youtube_dl/extractor/animeondemand.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/youtube_dl/extractor/animeondemand.py b/youtube_dl/extractor/animeondemand.py
index 3dbbe2a62..6cb3a84f9 100644
--- a/youtube_dl/extractor/animeondemand.py
+++ b/youtube_dl/extractor/animeondemand.py
@@ -18,7 +18,7 @@ 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'
- _TEST = {
+ _TESTS = [{
'url': 'https://www.anime-on-demand.de/anime/161',
'info_dict': {
'id': '161',
@@ -26,7 +26,11 @@ class AnimeOnDemandIE(InfoExtractor):
'description': 'md5:6681ce3c07c7189d255ac6ab23812d31',
},
'playlist_mincount': 4,
- }
+ }, {
+ # Film wording is used instead of Episode
+ 'url': 'https://www.anime-on-demand.de/anime/39',
+ 'only_matching': True,
+ }]
def _login(self):
(username, password) = self._get_login_info()