mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 17:02:30 +00:00
[vidme] Clarify IE_NAMEs
This commit is contained in:
parent
eb2533ec4c
commit
d97b0e3241
@ -13,6 +13,7 @@
|
|||||||
|
|
||||||
|
|
||||||
class VidmeIE(InfoExtractor):
|
class VidmeIE(InfoExtractor):
|
||||||
|
IE_NAME = 'vidme'
|
||||||
_VALID_URL = r'https?://vid\.me/(?:e/)?(?P<id>[\da-zA-Z]{,5})(?:[^\da-zA-Z]|$)'
|
_VALID_URL = r'https?://vid\.me/(?:e/)?(?P<id>[\da-zA-Z]{,5})(?:[^\da-zA-Z]|$)'
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'https://vid.me/QNB',
|
'url': 'https://vid.me/QNB',
|
||||||
@ -243,6 +244,7 @@ def _real_extract(self, url):
|
|||||||
|
|
||||||
|
|
||||||
class VidmeUserIE(VidmeListBaseIE):
|
class VidmeUserIE(VidmeListBaseIE):
|
||||||
|
IE_NAME = 'vidme:user'
|
||||||
_VALID_URL = r'https?://vid\.me/(?:e/)?(?P<id>[\da-zA-Z]{6,})(?!/likes)(?:[^\da-zA-Z]|$)'
|
_VALID_URL = r'https?://vid\.me/(?:e/)?(?P<id>[\da-zA-Z]{6,})(?!/likes)(?:[^\da-zA-Z]|$)'
|
||||||
_API_ITEM = 'list'
|
_API_ITEM = 'list'
|
||||||
_TITLE = 'Videos'
|
_TITLE = 'Videos'
|
||||||
@ -257,6 +259,7 @@ class VidmeUserIE(VidmeListBaseIE):
|
|||||||
|
|
||||||
|
|
||||||
class VidmeUserLikesIE(VidmeListBaseIE):
|
class VidmeUserLikesIE(VidmeListBaseIE):
|
||||||
|
IE_NAME = 'vidme:user:likes'
|
||||||
_VALID_URL = r'https?://vid\.me/(?:e/)?(?P<id>[\da-zA-Z]{6,})/likes'
|
_VALID_URL = r'https?://vid\.me/(?:e/)?(?P<id>[\da-zA-Z]{6,})/likes'
|
||||||
_API_ITEM = 'likes'
|
_API_ITEM = 'likes'
|
||||||
_TITLE = 'Likes'
|
_TITLE = 'Likes'
|
||||||
|
Loading…
Reference in New Issue
Block a user