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"))