projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8c97e7e
)
[animeondemand] Add test
author
Sergey M․
<dstftw@gmail.com>
Thu, 17 Mar 2016 17:50:10 +0000
(23:50 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 17 Mar 2016 17:50:10 +0000
(23:50 +0600)
youtube_dl/extractor/animeondemand.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/animeondemand.py
b/youtube_dl/extractor/animeondemand.py
index 3dbbe2a6246da44b25b7b51b0abf9ee365ee60cc..6cb3a84f9f25042362c64a94925cec16e3b72d24 100644
(file)
--- 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'
_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
=
{
+ _TEST
S = [
{
'url': 'https://www.anime-on-demand.de/anime/161',
'info_dict': {
'id': '161',
'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,
'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()
def _login(self):
(username, password) = self._get_login_info()