[mixer:vod] relax _VALID_URL (fixes #21531)
This commit is contained in:
parent
1d83e9bd4b
commit
9b0eaa0207
@ -99,27 +99,33 @@ class BeamProLiveIE(BeamProBaseIE):
|
|||||||
|
|
||||||
class BeamProVodIE(BeamProBaseIE):
|
class BeamProVodIE(BeamProBaseIE):
|
||||||
IE_NAME = 'Mixer:vod'
|
IE_NAME = 'Mixer:vod'
|
||||||
_VALID_URL = r'https?://(?:\w+\.)?(?:beam\.pro|mixer\.com)/[^/?#&]+\?.*?\bvod=(?P<id>\d+)'
|
_VALID_URL = r'https?://(?:\w+\.)?(?:beam\.pro|mixer\.com)/[^/?#&]+\?.*?\bvod=(?P<id>\w+)'
|
||||||
_TEST = {
|
_TESTS = [
|
||||||
'url': 'https://mixer.com/willow8714?vod=2259830',
|
{
|
||||||
'md5': 'b2431e6e8347dc92ebafb565d368b76b',
|
'url': 'https://mixer.com/willow8714?vod=2259830',
|
||||||
'info_dict': {
|
'md5': 'b2431e6e8347dc92ebafb565d368b76b',
|
||||||
'id': '2259830',
|
'info_dict': {
|
||||||
'ext': 'mp4',
|
'id': '2259830',
|
||||||
'title': 'willow8714\'s Channel',
|
'ext': 'mp4',
|
||||||
'duration': 6828.15,
|
'title': 'willow8714\'s Channel',
|
||||||
'thumbnail': r're:https://.*source\.png$',
|
'duration': 6828.15,
|
||||||
'timestamp': 1494046474,
|
'thumbnail': r're:https://.*source\.png$',
|
||||||
'upload_date': '20170506',
|
'timestamp': 1494046474,
|
||||||
'uploader': 'willow8714',
|
'upload_date': '20170506',
|
||||||
'uploader_id': '6085379',
|
'uploader': 'willow8714',
|
||||||
'age_limit': 13,
|
'uploader_id': '6085379',
|
||||||
'view_count': int,
|
'age_limit': 13,
|
||||||
|
'view_count': int,
|
||||||
|
},
|
||||||
|
'params': {
|
||||||
|
'skip_download': True,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
'params': {
|
{
|
||||||
'skip_download': True,
|
'url': 'https://mixer.com/streamer?vod=IxFno1rqC0S_XJ1a2yGgNw',
|
||||||
|
'only_matching': True,
|
||||||
},
|
},
|
||||||
}
|
]
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _extract_format(vod, vod_type):
|
def _extract_format(vod, vod_type):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user