1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01:00

[gdcvault] Extend _VALID_URL (fixes #5236)

This commit is contained in:
Yen Chi Hsuan 2015-04-24 22:25:34 +08:00
parent 09aa111918
commit 25f7d1beba

View File

@ -11,7 +11,7 @@
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,
}
]