From 2ade44cd32fb995b6fa7930e7fc39c9e31a5500d Mon Sep 17 00:00:00 2001
From: Deng Zhou <553531284@qq.com>
Date: Sat, 22 Jan 2022 23:47:09 +0800
Subject: [PATCH 1/6] =?UTF-8?q?fix=20fanza=20=E5=89=A7=E7=85=A7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.gitignore | 2 ++
WebCrawler/fanza.py | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
index 95c3b73..09632a9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -110,3 +110,5 @@ venv.bak/
JAV_output/**/*
failed/*
.vscode/launch.json
+
+.idea
\ No newline at end of file
diff --git a/WebCrawler/fanza.py b/WebCrawler/fanza.py
index 00d8988..08ce923 100644
--- a/WebCrawler/fanza.py
+++ b/WebCrawler/fanza.py
@@ -197,7 +197,7 @@ def getSeries(text):
return ""
def getExtrafanart(htmlcode): # 获取剧照
- html_pather = re.compile(r'
')
+ html_pather = re.compile(r'\n')
html = html_pather.search(htmlcode)
if html:
html = html.group()
@@ -314,4 +314,4 @@ def main_htmlcode(number):
if __name__ == "__main__":
# print(main("DV-1562"))
# print(main("96fad1217"))
- print(main("pred00251"))
+ print(main("h_173ghmt68"))
From 61de7863ede2452a4d9bab7004f8fadddac70c69 Mon Sep 17 00:00:00 2001
From: Deng Zhou <553531284@qq.com>
Date: Sat, 29 Jan 2022 21:36:16 +0800
Subject: [PATCH 2/6] =?UTF-8?q?=E5=B1=8F=E8=94=BDjavdb=20fix=20bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
WebCrawler/javdb.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/WebCrawler/javdb.py b/WebCrawler/javdb.py
index 8a5de7a..3368430 100755
--- a/WebCrawler/javdb.py
+++ b/WebCrawler/javdb.py
@@ -139,7 +139,7 @@ def getCover_small(html, index=0):
def getTrailer(htmlcode): # 获取预告片
video_pather = re.compile(r'