mirror of https://github.com/yt-dlp/yt-dlp.git
[videopremium] support new .me domain
This commit is contained in:
parent
5f09bbff4d
commit
4b19e38954
|
@ -5,7 +5,7 @@ from .common import InfoExtractor
|
||||||
|
|
||||||
|
|
||||||
class VideoPremiumIE(InfoExtractor):
|
class VideoPremiumIE(InfoExtractor):
|
||||||
_VALID_URL = r'(?:https?://)?(?:www\.)?videopremium\.tv/(?P<id>\w+)(?:/.*)?'
|
_VALID_URL = r'(?:https?://)?(?:www\.)?videopremium\.(?:tv|me)/(?P<id>\w+)(?:/.*)?'
|
||||||
_TEST = {
|
_TEST = {
|
||||||
u'url': u'http://videopremium.tv/4w7oadjsf156',
|
u'url': u'http://videopremium.tv/4w7oadjsf156',
|
||||||
u'file': u'4w7oadjsf156.f4v',
|
u'file': u'4w7oadjsf156.f4v',
|
||||||
|
@ -41,4 +41,4 @@ class VideoPremiumIE(InfoExtractor):
|
||||||
'player_url': "http://videopremium.tv/uplayer/uppod.swf",
|
'player_url': "http://videopremium.tv/uplayer/uppod.swf",
|
||||||
'ext': 'f4v',
|
'ext': 'f4v',
|
||||||
'title': video_title,
|
'title': video_title,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue