aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Fährmann <mike_faehrmann@web.de>2019-06-27 17:24:46 +0200
committerSergey M <dstftw@gmail.com>2019-06-27 22:24:46 +0700
commit6625bf200d08baf64764e99caa48b4fb3a48ff8e (patch)
treeb69f177186774d48adc686b5ac7660a33b8c408f
parentf5629946608861097b6ce5095efb9a9e8ac7f056 (diff)
downloadyoutube-dl-6625bf200d08baf64764e99caa48b4fb3a48ff8e.tar.xz
[mixer:vod] Relax _VALID_URL (closes #21531) (#21536)
-rw-r--r--youtube_dl/extractor/beampro.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/youtube_dl/extractor/beampro.py b/youtube_dl/extractor/beampro.py
index 2eaec1ab4..e264a145f 100644
--- a/youtube_dl/extractor/beampro.py
+++ b/youtube_dl/extractor/beampro.py
@@ -99,8 +99,8 @@ class BeamProLiveIE(BeamProBaseIE):
class BeamProVodIE(BeamProBaseIE):
IE_NAME = 'Mixer:vod'
- _VALID_URL = r'https?://(?:\w+\.)?(?:beam\.pro|mixer\.com)/[^/?#&]+\?.*?\bvod=(?P<id>\d+)'
- _TEST = {
+ _VALID_URL = r'https?://(?:\w+\.)?(?:beam\.pro|mixer\.com)/[^/?#&]+\?.*?\bvod=(?P<id>\w+)'
+ _TESTS = [{
'url': 'https://mixer.com/willow8714?vod=2259830',
'md5': 'b2431e6e8347dc92ebafb565d368b76b',
'info_dict': {
@@ -119,7 +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):