aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor/dispeak.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <[email protected]>2017-07-20 18:14:14 +0800
committerYen Chi Hsuan <[email protected]>2017-07-20 18:14:14 +0800
commitd20b1c6725fce956b44413cced449b7d09b12de2 (patch)
tree8fe14be4e7673e09a9c2ea59a81323160eadd817 /youtube_dl/extractor/dispeak.py
parentbb176df3bbef62dcf958dcc542f778686e44db63 (diff)
downloadyoutube-dl-d20b1c6725fce956b44413cced449b7d09b12de2.tar.gz
youtube-dl-d20b1c6725fce956b44413cced449b7d09b12de2.zip
[dispeak] Recognize sevt subdomain (closes #13276)
Diffstat (limited to 'youtube_dl/extractor/dispeak.py')
-rw-r--r--youtube_dl/extractor/dispeak.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/youtube_dl/extractor/dispeak.py b/youtube_dl/extractor/dispeak.py
index a78cb8a2a..c05f601e2 100644
--- a/youtube_dl/extractor/dispeak.py
+++ b/youtube_dl/extractor/dispeak.py
@@ -13,7 +13,7 @@ from ..utils import (
class DigitallySpeakingIE(InfoExtractor):
- _VALID_URL = r'https?://(?:evt\.dispeak|events\.digitallyspeaking)\.com/(?:[^/]+/)+xml/(?P<id>[^.]+)\.xml'
+ _VALID_URL = r'https?://(?:s?evt\.dispeak|events\.digitallyspeaking)\.com/(?:[^/]+/)+xml/(?P<id>[^.]+)\.xml'
_TESTS = [{
# From http://gdcvault.com/play/1023460/Tenacious-Design-and-The-Interface
@@ -28,6 +28,10 @@ class DigitallySpeakingIE(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):