mirror of
https://github.com/l1ving/youtube-dl
synced 2024-12-21 22:52:52 +08:00
[porn91] PEP8
This commit is contained in:
parent
1ebc05df91
commit
9ff811c5cd
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user