diff options
author | Sergey M․ <dstftw@gmail.com> | 2018-12-18 01:55:13 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2018-12-18 01:55:13 +0700 |
commit | 4ee184545455d1ebf4a9f97f86ade2c4a3b3e03b (patch) | |
tree | 359d134d52dc7236d119d6c2a726425be6829d21 /youtube_dl/extractor/mediasite.py | |
parent | cfd13c4c45f63c408a3e53ac31561c286c9a3acc (diff) |
[mediasite] Extend _VALID_URL even more
Diffstat (limited to 'youtube_dl/extractor/mediasite.py')
-rw-r--r-- | youtube_dl/extractor/mediasite.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/youtube_dl/extractor/mediasite.py b/youtube_dl/extractor/mediasite.py index de37df0c6..ef9628e65 100644 --- a/youtube_dl/extractor/mediasite.py +++ b/youtube_dl/extractor/mediasite.py @@ -21,7 +21,7 @@ from ..utils import ( class MediasiteIE(InfoExtractor): - _VALID_URL = r'(?xi)https?://[^/]+/Mediasite/(?:Play|Showcase/livebroadcast/Presentation)/(?P<id>[0-9a-f]{32,34})(?P<query>\?[^#]+|)' + _VALID_URL = r'(?xi)https?://[^/]+/Mediasite/(?:Play|Showcase/(?:default|livebroadcast)/Presentation)/(?P<id>[0-9a-f]{32,34})(?P<query>\?[^#]+|)' _TESTS = [ { 'url': 'https://hitsmediaweb.h-its.org/mediasite/Play/2db6c271681e4f199af3c60d1f82869b1d', @@ -89,6 +89,10 @@ class MediasiteIE(InfoExtractor): 'url': 'https://collegerama.tudelft.nl/Mediasite/Showcase/livebroadcast/Presentation/ada7020854f743c49fbb45c9ec7dbb351d', 'only_matching': True, }, + { + 'url': 'https://mediasite.ntnu.no/Mediasite/Showcase/default/Presentation/7d8b913259334b688986e970fae6fcb31d', + 'only_matching': True, + }, ] # look in Mediasite.Core.js (Mediasite.ContentStreamType[*]) |