diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2015-04-24 22:25:34 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2015-04-24 22:33:35 +0800 |
commit | 25f7d1beba61ad9a5d013d423f169eafb05d76a5 (patch) | |
tree | cf4b7660f9e58a28b284a7ec0378fdb7b828f106 /youtube_dl/extractor/gdcvault.py | |
parent | 09aa111918c35cc091253d06b4de0b6f396b8e80 (diff) |
[gdcvault] Extend _VALID_URL (fixes #5236)
Diffstat (limited to 'youtube_dl/extractor/gdcvault.py')
-rw-r--r-- | youtube_dl/extractor/gdcvault.py | 6 |
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, } ] |