[porn91] PEP8

pull/5852/head
Yen Chi Hsuan 2015-05-30 23:35:55 +08:00
parent 1ebc05df91
commit 9ff811c5cd
1 changed files with 7 additions and 8 deletions

View File

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