aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2015-04-24 22:25:34 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2015-04-24 22:33:35 +0800
commit25f7d1beba61ad9a5d013d423f169eafb05d76a5 (patch)
treecf4b7660f9e58a28b284a7ec0378fdb7b828f106 /youtube_dl
parent09aa111918c35cc091253d06b4de0b6f396b8e80 (diff)
[gdcvault] Extend _VALID_URL (fixes #5236)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/gdcvault.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/youtube_dl/extractor/gdcvault.py b/youtube_dl/extractor/gdcvault.py
index 51796f3a4..f634e6285 100644
--- a/youtube_dl/extractor/gdcvault.py
+++ b/youtube_dl/extractor/gdcvault.py
@@ -11,7 +11,7 @@ from ..utils import remove_end
class GDCVaultIE(InfoExtractor):
- _VALID_URL = r'https?://(?:www\.)?gdcvault\.com/play/(?P<id>\d+)/(?P<name>(\w|-)+)'
+ _VALID_URL = r'https?://(?:www\.)?gdcvault\.com/play/(?P<id>\d+)/(?P<name>(\w|-)+)?'
_NETRC_MACHINE = 'gdcvault'
_TESTS = [
{
@@ -43,6 +43,10 @@ class GDCVaultIE(InfoExtractor):
'title': 'Thexder Meets Windows 95, or Writing Great Games in the Windows 95 Environment',
},
'skip': 'Requires login',
+ },
+ {
+ 'url': 'http://gdcvault.com/play/1020791/',
+ 'only_matching': True,
}
]