This commit is contained in:
Klaus-Uwe Mitterer 2017-09-14 16:10:08 +02:00
parent 037d18c52e
commit fc14091296

View file

@ -60,7 +60,7 @@ def fileHandler(url, retry = False):
try:
fid = url.split("=")[1]
if not glob.glob("files/sbd%s*" % fid):
if not glob.glob("files/sbd%s_*" % fid):
res = session.get("https://scriptzbase.org/%s" % url)
fname = re.findall("filename=(.+)", res.headers["content-disposition"])[0].split(";")[0].strip('"')