same as last commit

pull/150/head
Aevann 2023-05-16 11:48:48 +03:00
parent 240bd7354c
commit 66c1baf13c
1 changed files with 1 additions and 1 deletions

View File

@ -62,6 +62,7 @@ def images(v):
ext = y.group(4)
url = f'https://{site}/{id}.{ext}'
print(url, flush=True)
try: image_req = requests.get(url, headers=HEADERS, timeout=5)
except: continue
@ -89,7 +90,6 @@ def images(v):
continue
size = os.stat(name).st_size
print(size, flush=True)
if not size: continue
new_url = f"https://{SITE_IMAGES}{name}"