projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f562994
)
[mixer:vod] Relax _VALID_URL (closes #21531) (#21536)
author
Mike Fährmann
<mike_faehrmann@web.de>
Thu, 27 Jun 2019 15:24:46 +0000
(17:24 +0200)
committer
Sergey M
<dstftw@gmail.com>
Thu, 27 Jun 2019 15:24:46 +0000
(22:24 +0700)
youtube_dl/extractor/beampro.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/beampro.py
b/youtube_dl/extractor/beampro.py
index 2eaec1ab4981d87281b9580d9798956d1b36ea29..e264a145ff54ad74071dea7b07cb57036757bb1a 100644
(file)
--- 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'
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': {
'url': 'https://mixer.com/willow8714?vod=2259830',
'md5': 'b2431e6e8347dc92ebafb565d368b76b',
'info_dict': {
@@
-119,7
+119,10
@@
class BeamProVodIE(BeamProBaseIE):
'params': {
'skip_download': True,
},
'params': {
'skip_download': True,
},
- }
+ }, {
+ 'url': 'https://mixer.com/streamer?vod=IxFno1rqC0S_XJ1a2yGgNw',
+ 'only_matching': True,
+ }]
@staticmethod
def _extract_format(vod, vod_type):
@staticmethod
def _extract_format(vod, vod_type):