Update beampro.py

This commit is contained in:
Sergey M 2019-06-27 22:24:00 +07:00 committed by GitHub
parent 9b0eaa0207
commit 8cfa84ada4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,8 +100,7 @@ class BeamProLiveIE(BeamProBaseIE):
class BeamProVodIE(BeamProBaseIE):
IE_NAME = 'Mixer:vod'
_VALID_URL = r'https?://(?:\w+\.)?(?:beam\.pro|mixer\.com)/[^/?#&]+\?.*?\bvod=(?P<id>\w+)'
_TESTS = [
{
_TESTS = [{
'url': 'https://mixer.com/willow8714?vod=2259830',
'md5': 'b2431e6e8347dc92ebafb565d368b76b',
'info_dict': {
@ -120,12 +119,10 @@ class BeamProVodIE(BeamProBaseIE):
'params': {
'skip_download': True,
},
},
{
}, {
'url': 'https://mixer.com/streamer?vod=IxFno1rqC0S_XJ1a2yGgNw',
'only_matching': True,
},
]
}]
@staticmethod
def _extract_format(vod, vod_type):