[vidme] Clarify IE_NAMEs
authorSergey M․ <dstftw@gmail.com>
Fri, 5 Feb 2016 17:58:26 +0000 (23:58 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 5 Feb 2016 17:58:26 +0000 (23:58 +0600)
youtube_dl/extractor/vidme.py

index e39f5220419c1724bc736efab428af78b847e767..b1156d531aba6793fc7ce7dda9649950d922f606 100644 (file)
@@ -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'