]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[porn91] PEP8
authorYen Chi Hsuan <yan12125@gmail.com>
Sat, 30 May 2015 15:35:55 +0000 (23:35 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Sat, 30 May 2015 15:35:55 +0000 (23:35 +0800)
youtube_dl/extractor/porn91.py

index b62eec92d636785aa998f854b36a104f012baed0..cdf308f3d7776a5a1366a765cdd170a210d2cb97 100644 (file)
@@ -5,7 +5,6 @@ import re
 
 from ..compat import compat_urllib_parse
 from .common import InfoExtractor
-from ..utils import ExtractorError
 
 
 class Porn91IE(InfoExtractor):
@@ -13,13 +12,13 @@ class Porn91IE(InfoExtractor):
     _VALID_URL = r'(?:https?://)(?:www\.|)91porn\.com/.+?\?viewkey=(?P<id>[\w\d]+)'
 
     _TEST = {
-            'url': 'http://91porn.com/view_video.php?viewkey=7e42283b4f5ab36da134',
-            'md5': '6df8f6d028bc8b14f5dbd73af742fb20',
-            'info_dict': {
-                'id': '7e42283b4f5ab36da134',
-                'title': '18岁大一漂亮学妹,水嫩性感,再爽一次!',
-                'ext': 'mp4'
-            }
+        'url': 'http://91porn.com/view_video.php?viewkey=7e42283b4f5ab36da134',
+        'md5': '6df8f6d028bc8b14f5dbd73af742fb20',
+        'info_dict': {
+            'id': '7e42283b4f5ab36da134',
+            'title': '18岁大一漂亮学妹,水嫩性感,再爽一次!',
+            'ext': 'mp4'
+        }
     }
 
     def _real_extract(self, url):