aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/vidme.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-02-05 23:58:26 +0600
committerSergey M․ <dstftw@gmail.com>2016-02-05 23:58:26 +0600
commitd97b0e324152a1313675fcaea22af72b6593e365 (patch)
tree6928d2e753875811b1825330723bfa7697770a29 /youtube_dl/extractor/vidme.py
parenteb2533ec4cc55f1a100e508ea683f345cc84dac9 (diff)
[vidme] Clarify IE_NAMEs
Diffstat (limited to 'youtube_dl/extractor/vidme.py')
-rw-r--r--youtube_dl/extractor/vidme.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube_dl/extractor/vidme.py b/youtube_dl/extractor/vidme.py
index e39f52204..b1156d531 100644
--- a/youtube_dl/extractor/vidme.py
+++ b/youtube_dl/extractor/vidme.py
@@ -13,6 +13,7 @@ from ..utils import (
class VidmeIE(InfoExtractor):
+ IE_NAME = 'vidme'
_VALID_URL = r'https?://vid\.me/(?:e/)?(?P<id>[\da-zA-Z]{,5})(?:[^\da-zA-Z]|$)'
_TESTS = [{
'url': 'https://vid.me/QNB',
@@ -243,6 +244,7 @@ class VidmeListBaseIE(InfoExtractor):
class VidmeUserIE(VidmeListBaseIE):
+ IE_NAME = 'vidme:user'
_VALID_URL = r'https?://vid\.me/(?:e/)?(?P<id>[\da-zA-Z]{6,})(?!/likes)(?:[^\da-zA-Z]|$)'
_API_ITEM = 'list'
_TITLE = 'Videos'
@@ -257,6 +259,7 @@ class VidmeUserIE(VidmeListBaseIE):
class VidmeUserLikesIE(VidmeListBaseIE):
+ IE_NAME = 'vidme:user:likes'
_VALID_URL = r'https?://vid\.me/(?:e/)?(?P<id>[\da-zA-Z]{6,})/likes'
_API_ITEM = 'likes'
_TITLE = 'Likes'