From 5f627d24e07cc2b193213877046593a1c6893273 Mon Sep 17 00:00:00 2001
From: wenead99 <42309414+wenead99@users.noreply.github.com>
Date: Wed, 29 May 2019 09:07:17 +0800
Subject: [PATCH] =?UTF-8?q?0.3.1=20Beta=20=E4=BF=AE=E6=94=B9=E6=97=A0?=
=?UTF-8?q?=E6=B3=95=E5=AF=BC=E5=87=BAnfo=E6=96=87=E4=BB=B6=E5=92=8C?=
=?UTF-8?q?=E4=BB=8B=E7=BB=8DBUG?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
core.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/core.py b/core.py
index 0b47f8d..1604b45 100644
--- a/core.py
+++ b/core.py
@@ -85,7 +85,7 @@ def DownloadFileWithFilename(url,filename,path): #path = examle:photo , video.in
print("[-]Download Failed2!")
time.sleep(3)
os._exit(0)
-def PrintFiles(html,path):
+def PrintFiles(html,path,number):
try:
if not os.path.exists(path):
os.makedirs(path)
@@ -96,8 +96,8 @@ def PrintFiles(html,path):
print(" ", file=code)
print(" " + getStudio(html) + "+", file=code)
print(" " + getYear(html) + "", file=code)
- print(" "+getOutline(html)+"", file=code)
- print(" "+getOutline(html)+"", file=code)
+ print(" "+getOutline(get_html_dww(number))+"", file=code)
+ print(" "+getOutline(get_html_dww(number))+"", file=code)
print(" "+str(getRuntime(html)).replace(" ","")+"", file=code)
print(" " + getDirector(html) + "", file=code)
print(" " + getNum(html) + ".png", file=code)
@@ -196,6 +196,6 @@ if __name__ == '__main__':
htmlcode=get_html_javbus(number) #获取的HTML代码
creatFolder(htmlcode,number) #创建文件夹
imageDownload(htmlcode,filepath,number) #creatFoder会返回番号路径
- PrintFiles(htmlcode, path)#打印文件
+ PrintFiles(htmlcode, path,number)#打印文件
cutImage(number) #裁剪图
pasteFileToFolder(filepath,number,path) #移动文件