X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fdispeak.py;h=c05f601e2b1a69dcf4d73e090638ec990c6c7331;hb=2f483bc1c389709623117079439708783122b5ec;hp=c74fa7e0725bbe94cb1980695585889bedeffab4;hpb=442c4d361f309f64176f2c1b053ea8775701634c;p=youtube-dl diff --git a/youtube_dl/extractor/dispeak.py b/youtube_dl/extractor/dispeak.py index c74fa7e07..c05f601e2 100644 --- a/youtube_dl/extractor/dispeak.py +++ b/youtube_dl/extractor/dispeak.py @@ -12,11 +12,11 @@ from ..utils import ( ) -class DigitalSpeakingIE(InfoExtractor): - _VALID_URL = r'http://(?:evt\.dispeak|events\.digitallyspeaking)\.com/([^/]+/)+xml/(?P[^.]+).xml' +class DigitallySpeakingIE(InfoExtractor): + _VALID_URL = r'https?://(?:s?evt\.dispeak|events\.digitallyspeaking)\.com/(?:[^/]+/)+xml/(?P[^.]+)\.xml' _TESTS = [{ - # From http://evt.dispeak.com/ubm/gdc/sf16/xml/840376_BQRC.xml + # From http://gdcvault.com/play/1023460/Tenacious-Design-and-The-Interface 'url': 'http://evt.dispeak.com/ubm/gdc/sf16/xml/840376_BQRC.xml', 'md5': 'a8efb6c31ed06ca8739294960b2dbabd', 'info_dict': { @@ -28,6 +28,10 @@ class DigitalSpeakingIE(InfoExtractor): # From http://www.gdcvault.com/play/1014631/Classic-Game-Postmortem-PAC 'url': 'http://events.digitallyspeaking.com/gdc/sf11/xml/12396_1299111843500GMPX.xml', 'only_matching': True, + }, { + # From http://www.gdcvault.com/play/1013700/Advanced-Material + 'url': 'http://sevt.dispeak.com/ubm/gdc/eur10/xml/11256_1282118587281VNIT.xml', + 'only_matching': True, }] def _parse_mp4(self, metadata):