mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 09:01:43 +00:00
[konserthusetplay] Add support for rspoplay.se
This commit is contained in:
parent
d41ed6d243
commit
99a0baf370
@ -11,22 +11,22 @@
|
|||||||
|
|
||||||
|
|
||||||
class KonserthusetPlayIE(InfoExtractor):
|
class KonserthusetPlayIE(InfoExtractor):
|
||||||
_VALID_URL = r'https?://(?:www\.)?konserthusetplay\.se/\?.*\bm=(?P<id>[^&]+)'
|
_VALID_URL = r'https?://(?:www\.)?(?:konserthusetplay|rspoplay)\.se/\?.*\bm=(?P<id>[^&]+)'
|
||||||
_TEST = {
|
_TESTS = [{
|
||||||
'url': 'http://www.konserthusetplay.se/?m=CKDDnlCY-dhWAAqiMERd-A',
|
'url': 'http://www.konserthusetplay.se/?m=CKDDnlCY-dhWAAqiMERd-A',
|
||||||
|
'md5': 'e3fd47bf44e864bd23c08e487abe1967',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': 'CKDDnlCY-dhWAAqiMERd-A',
|
'id': 'CKDDnlCY-dhWAAqiMERd-A',
|
||||||
'ext': 'flv',
|
'ext': 'mp4',
|
||||||
'title': 'Orkesterns instrument: Valthornen',
|
'title': 'Orkesterns instrument: Valthornen',
|
||||||
'description': 'md5:f10e1f0030202020396a4d712d2fa827',
|
'description': 'md5:f10e1f0030202020396a4d712d2fa827',
|
||||||
'thumbnail': 're:^https?://.*$',
|
'thumbnail': 're:^https?://.*$',
|
||||||
'duration': 398.8,
|
'duration': 398.76,
|
||||||
},
|
},
|
||||||
'params': {
|
}, {
|
||||||
# rtmp download
|
'url': 'http://rspoplay.se/?m=elWuEH34SMKvaO4wO_cHBw',
|
||||||
'skip_download': True,
|
'only_matching': True,
|
||||||
},
|
}]
|
||||||
}
|
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
video_id = self._match_id(url)
|
video_id = self._match_id(url)
|
||||||
|
Loading…
Reference in New Issue
Block a user