mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2025-02-17 09:27:54 +01:00
playerglobewien - split tests for audio and video
This commit is contained in:
parent
29f257fa25
commit
f3fbacb6d8
@ -6,18 +6,27 @@ from .common import InfoExtractor
|
|||||||
|
|
||||||
class PlayerGlobeWienIE(InfoExtractor):
|
class PlayerGlobeWienIE(InfoExtractor):
|
||||||
_VALID_URL = r'https?://player.globe.wien/globe-wien/(?P<id>.*)'
|
_VALID_URL = r'https?://player.globe.wien/globe-wien/(?P<id>.*)'
|
||||||
_TEST = {
|
_TESTS = [{
|
||||||
'url': 'https://player.globe.wien/globe-wien/corona-podcast-teil-4',
|
'url': 'https://player.globe.wien/globe-wien/corona-podcast-teil-4',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': 'corona-podcast-teil-4',
|
'id': 'corona-podcast-teil-4',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': 'Globe Wien VOD - Eckel & Niavarani & Sarsam - Im Endspurt versagt',
|
'title': 'Globe Wien VOD - Eckel & Niavarani & Sarsam - Im Endspurt versagt',
|
||||||
'url': 'https://player.globe.wien/globe-wien/corona-podcast-teil-4',
|
|
||||||
},
|
},
|
||||||
'params': {
|
'params': {
|
||||||
'format': 'bestvideo+bestaudio/best',
|
'format': 'bestvideo',
|
||||||
}
|
}
|
||||||
}
|
}, {
|
||||||
|
'url': 'https://player.globe.wien/globe-wien/corona-podcast-teil-4',
|
||||||
|
'info_dict': {
|
||||||
|
'id': 'corona-podcast-teil-4',
|
||||||
|
'ext': 'mp4',
|
||||||
|
'title': 'Globe Wien VOD - Eckel & Niavarani & Sarsam - Im Endspurt versagt',
|
||||||
|
},
|
||||||
|
'params': {
|
||||||
|
'format': 'bestaudio',
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
|
||||||
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