mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-16 01:25:06 +00:00
[hypestat] Match URLs with www. and https://
This commit is contained in:
parent
0529eef5a4
commit
37bfe8ace4
1 changed files with 4 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
class HypestatIE(InfoExtractor):
|
class HypestatIE(InfoExtractor):
|
||||||
IE_DESC = 'allmyvideos.net and vidspot.net'
|
IE_DESC = 'allmyvideos.net and vidspot.net'
|
||||||
_VALID_URL = r'https?://(?:allmyvideos|vidspot)\.net/(?P<id>[a-zA-Z0-9_-]+)'
|
_VALID_URL = r'https?://(?:www\.)?(?:allmyvideos|vidspot)\.net/(?P<id>[a-zA-Z0-9_-]+)'
|
||||||
|
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'http://allmyvideos.net/jih3nce3x6wn',
|
'url': 'http://allmyvideos.net/jih3nce3x6wn',
|
||||||
|
@ -31,6 +31,9 @@ class HypestatIE(InfoExtractor):
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': 'youtube-dl test video',
|
'title': 'youtube-dl test video',
|
||||||
},
|
},
|
||||||
|
}, {
|
||||||
|
'url': 'https://www.vidspot.net/l2ngsmhs8ci5',
|
||||||
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
|
Loading…
Reference in a new issue