main
justuser 2 months ago
parent b9aaef110f
commit a44099a9e0

@ -173,7 +173,10 @@ def client(port, op = "ping", host = 'bore.del.pw'):
return "old" return "old"
# Скачиваем файлы # Скачиваем файлы
g_site = get(f"http://{host}:{str(port)}/{site}.zip") try:
g_site = get(f"http://{host}:{str(port)}/{site}.zip")
except:
return 'error'
print('SIZE: ', g_site.headers['Content-Length']) # Размер print('SIZE: ', g_site.headers['Content-Length']) # Размер
with open(f"verify/{site}.zip", "wb") as f: with open(f"verify/{site}.zip", "wb") as f:

Loading…
Cancel
Save