Skip to content

Commit

Permalink
[mixer:vod] Relax _VALID_URL (closes #21657) (#21658)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rikorose authored and pareronia committed Jun 22, 2020
1 parent e9fd9f6 commit f642e64
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion youtube_dl/extractor/beampro.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def manifest_url(kind):

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',
Expand All @@ -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
Expand Down

0 comments on commit f642e64

Please sign in to comment.