summary refs log tree commit diff
diff options
context:
space:
mode:
authorHendrik Schröter <Rikorose@users.noreply.github.com>2019-07-05 15:47:32 +0000
committerSergey M <dstftw@gmail.com>2019-07-05 22:47:32 +0700
commitd1850c1a975de37b28c39afdce2e5ea56dec032a (patch)
treee9a122dd0dcd7064f658f3133233f4005292553c
parentc9fa84d88ef31c847d418223c0c6eb93651ccbec (diff)
downloadyoutube-dl-d1850c1a975de37b28c39afdce2e5ea56dec032a.tar.gz
youtube-dl-d1850c1a975de37b28c39afdce2e5ea56dec032a.tar.xz
youtube-dl-d1850c1a975de37b28c39afdce2e5ea56dec032a.zip
[mixer:vod] Relax _VALID_URL (closes #21657) (#21658)
-rw-r--r--youtube_dl/extractor/beampro.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/beampro.py b/youtube_dl/extractor/beampro.py
index e264a145f..86abdae00 100644
--- a/youtube_dl/extractor/beampro.py
+++ b/youtube_dl/extractor/beampro.py
@@ -99,7 +99,7 @@ class BeamProLiveIE(BeamProBaseIE):
 
 class BeamProVodIE(BeamProBaseIE):
     IE_NAME = 'Mixer:vod'
-    _VALID_URL = r'https?://(?:\w+\.)?(?:beam\.pro|mixer\.com)/[^/?#&]+\?.*?\bvod=(?P<id>\w+)'
+    _VALID_URL = r'https?://(?:\w+\.)?(?:beam\.pro|mixer\.com)/[^/?#&]+\?.*?\bvod=(?P<id>[^?#&]+)'
     _TESTS = [{
         'url': 'https://mixer.com/willow8714?vod=2259830',
         'md5': 'b2431e6e8347dc92ebafb565d368b76b',
@@ -122,6 +122,9 @@ class BeamProVodIE(BeamProBaseIE):
     }, {
         'url': 'https://mixer.com/streamer?vod=IxFno1rqC0S_XJ1a2yGgNw',
         'only_matching': True,
+    }, {
+        'url': 'https://mixer.com/streamer?vod=Rh3LY0VAqkGpEQUe2pN-ig',
+        'only_matching': True,
     }]
 
     @staticmethod