From: Yen Chi Hsuan Date: Fri, 24 Apr 2015 14:25:34 +0000 (+0800) Subject: [gdcvault] Extend _VALID_URL (fixes #5236) X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=25f7d1beba61ad9a5d013d423f169eafb05d76a5;p=youtube-dl.git [gdcvault] Extend _VALID_URL (fixes #5236) --- 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\d+)/(?P(\w|-)+)' + _VALID_URL = r'https?://(?:www\.)?gdcvault\.com/play/(?P\d+)/(?P(\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, } ]