diff --git a/WebCrawler/__init__.py b/WebCrawler/__init__.py index c661700..f690e0c 100644 --- a/WebCrawler/__init__.py +++ b/WebCrawler/__init__.py @@ -22,6 +22,8 @@ from . import xcity from . import dlsite from . import carib from . import fc2club +from . import mv91 +from . import madou def get_data_state(data: dict) -> bool: # 元数据获取失败检测 @@ -57,7 +59,9 @@ def get_data_from_json(file_number, oCC): # 从JSON返回元数据 # "javlib": javlib.main, "dlsite": dlsite.main, "carib": carib.main, - "fc2club": fc2club.main + "fc2club": fc2club.main, + "mv91": mv91.main, + "madou": madou.main } conf = config.getInstance() diff --git a/WebCrawler/javdb.py b/WebCrawler/javdb.py index 8a5de7a..e46cd7f 100755 --- a/WebCrawler/javdb.py +++ b/WebCrawler/javdb.py @@ -1,3 +1,4 @@ +import logging import sys sys.path.append('../') import re @@ -139,7 +140,8 @@ def getCover_small(html, index=0): def getTrailer(htmlcode): # 获取预告片 video_pather = re.compile(r'