aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2015-05-30 23:35:55 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2015-05-30 23:35:55 +0800
commit9ff811c5cddbf3481fdcd44e97cf3683a925b33f (patch)
tree7ba90b0529a32998b822a423e49f8492e6b45ff9
parent1ebc05df91b769452da50c5fad0b413550d5e1de (diff)
[porn91] PEP8
-rw-r--r--youtube_dl/extractor/porn91.py15
1 files changed, 7 insertions, 8 deletions
diff --git a/youtube_dl/extractor/porn91.py b/youtube_dl/extractor/porn91.py
index b62eec92d..cdf308f3d 100644
--- a/youtube_dl/extractor/porn91.py
+++ b/youtube_dl/extractor/porn91.py
@@ -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):