[dispeak/gdcvault] Add the test case from #5784

This commit is contained in:
Yen Chi Hsuan 2016-04-21 19:46:32 +08:00
parent ec59d657e7
commit 442c4d361f
No known key found for this signature in database
GPG key ID: 3FDDD575826C5C30
2 changed files with 30 additions and 13 deletions

View file

@ -52,6 +52,7 @@ class GDCVaultIE(InfoExtractor):
'only_matching': True,
},
{
# Hard-coded hostname
'url': 'http://gdcvault.com/play/1023460/Tenacious-Design-and-The-Interface',
'md5': 'a8efb6c31ed06ca8739294960b2dbabd',
'info_dict': {
@ -61,6 +62,19 @@ class GDCVaultIE(InfoExtractor):
'title': 'Tenacious Design and The Interface of \'Destiny\'',
},
},
{
# Multiple audios
'url': 'http://www.gdcvault.com/play/1014631/Classic-Game-Postmortem-PAC',
'info_dict': {
'id': '1014631',
'ext': 'flv',
'title': 'How to Create a Good Game - From My Experience of Designing Pac-Man',
},
'params': {
'skip_download': True, # Requires rtmpdump
'format': 'jp', # The japanese audio
}
},
]
def _login(self, webpage_url, display_id):