[jpopsuki] Support category links
authorAnton Larionov <diffident.cat@gmail.com>
Wed, 1 Oct 2014 19:24:23 +0000 (23:24 +0400)
committerAnton Larionov <diffident.cat@gmail.com>
Wed, 1 Oct 2014 19:24:23 +0000 (23:24 +0400)
youtube_dl/extractor/jpopsukitv.py

index aad7825788a74bc8930d401a38fe41f7703803c6..a48a610e5ce316680757d83785975738be30c884 100644 (file)
@@ -12,7 +12,7 @@ from ..utils import (
 
 class JpopsukiIE(InfoExtractor):
     IE_NAME = 'jpopsuki.tv'
-    _VALID_URL = r'https?://(?:www\.)?jpopsuki\.tv/video/(.*?)/(?P<id>\S+)'
+    _VALID_URL = r'https?://(?:www\.)?jpopsuki\.tv/(category/)?video/(.*?)/(?P<id>\S+)'
 
     _TEST = {
         'url': 'http://www.jpopsuki.tv/video/ayumi-hamasaki---evolution/00be659d23b0b40508169cdee4545771',