Yen Chi Hsuan
8 years ago
No known key found for this signature in database
GPG Key ID: 3FDDD575826C5C30
3 changed files with
4 additions and
4 deletions
-
youtube_dl/extractor/dispeak.py
-
youtube_dl/extractor/gdcvault.py
-
youtube_dl/extractor/gputechconf.py
|
@ -13,10 +13,10 @@ from ..utils import ( |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class DigitalSpeakingIE(InfoExtractor): |
|
|
class DigitalSpeakingIE(InfoExtractor): |
|
|
_VALID_URL = r'http://(?:evt\.dispeak|events\.digitallyspeaking)\.com/([^/]+/)+xml/(?P<id>[^.]+).xml' |
|
|
|
|
|
|
|
|
_VALID_URL = r'https?://(?:evt\.dispeak|events\.digitallyspeaking)\.com/(?:[^/]+/)+xml/(?P<id>[^.]+)\.xml' |
|
|
|
|
|
|
|
|
_TESTS = [{ |
|
|
_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', |
|
|
'url': 'http://evt.dispeak.com/ubm/gdc/sf16/xml/840376_BQRC.xml', |
|
|
'md5': 'a8efb6c31ed06ca8739294960b2dbabd', |
|
|
'md5': 'a8efb6c31ed06ca8739294960b2dbabd', |
|
|
'info_dict': { |
|
|
'info_dict': { |
|
|
|
@ -157,5 +157,5 @@ class GDCVaultIE(InfoExtractor): |
|
|
'id': video_id, |
|
|
'id': video_id, |
|
|
'display_id': display_id, |
|
|
'display_id': display_id, |
|
|
'url': '%s/xml/%s' % (xml_root, xml_name), |
|
|
'url': '%s/xml/%s' % (xml_root, xml_name), |
|
|
'ie': 'DigitalSpeaking', |
|
|
|
|
|
|
|
|
'ie_key': 'DigitalSpeaking', |
|
|
} |
|
|
} |
|
@ -31,5 +31,5 @@ class GPUTechConfIE(InfoExtractor): |
|
|
'_type': 'url_transparent', |
|
|
'_type': 'url_transparent', |
|
|
'id': video_id, |
|
|
'id': video_id, |
|
|
'url': '%sxml/%s.xml' % (root_path, xml_file_id), |
|
|
'url': '%sxml/%s.xml' % (root_path, xml_file_id), |
|
|
'ie': 'DigitalSpeaking', |
|
|
|
|
|
|
|
|
'ie_key': 'DigitalSpeaking', |
|
|
} |
|
|
} |