Beta 0.4 更新 *更好的错误提示

This commit is contained in:
wenead99 2019-05-30 19:15:02 +08:00 committed by GitHub
parent e3d9955e5b
commit 917614975e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,10 +73,8 @@ def DownloadFileWithFilename(url,filename,path): #path = examle:photo , video.in
with open(str(path) + "/"+str(filename), "wb") as code:
code.write(r.content)
except IOError as e:
print("[-]Download Failed1!")
print("[-]Error:"+str(e))
print("[-]Movie not found in Javbus.com!")
print("[*]=====================================")
print("[-]Movie not found in All website!")
#print("[*]=====================================")
return "failed"
except Exception as e1:
print(e1)