aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/gdcvault.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-04-21 19:46:32 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-04-21 19:47:10 +0800
commit442c4d361f309f64176f2c1b053ea8775701634c (patch)
tree1acfb075b3cf7da99b4f0a74599c26dc9b53ac4b /youtube_dl/extractor/gdcvault.py
parentec59d657e7d898cce8f3a1b6556a79fd9495fc9d (diff)
downloadyoutube-dl-442c4d361f309f64176f2c1b053ea8775701634c.tar.xz
[dispeak/gdcvault] Add the test case from #5784
Diffstat (limited to 'youtube_dl/extractor/gdcvault.py')
-rw-r--r--youtube_dl/extractor/gdcvault.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/youtube_dl/extractor/gdcvault.py b/youtube_dl/extractor/gdcvault.py
index 01e1ceec8..5d45faf85 100644
--- a/youtube_dl/extractor/gdcvault.py
+++ b/youtube_dl/extractor/gdcvault.py
@@ -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):