Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Backups
youtube-dl
Commits
6625bf20
Commit
6625bf20
authored
Jun 27, 2019
by
Mike Fährmann
Committed by
Sergey M
Jun 27, 2019
Browse files
[mixer:vod] Relax _VALID_URL (closes #21531) (#21536)
parent
f5629946
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
youtube_dl/extractor/beampro.py
youtube_dl/extractor/beampro.py
+6
-3
No files found.
youtube_dl/extractor/beampro.py
View file @
6625bf20
...
...
@@ -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
+)'
_TEST
S
=
[
{
'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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment