1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-06 13:07:59 +00:00
This commit is contained in:
deadc0de6
2023-01-28 14:31:39 +01:00
committed by deadc0de
parent 8a3c40b92a
commit 7ad00ada06
3 changed files with 60 additions and 36 deletions

View File

@@ -61,6 +61,11 @@ def check_links(urls):
allow_redirects=True,
headers=HEADERS).status_code
if ret not in VALID_RET:
msg = (
f' [WARN] HEAD {url} returned {ret}'
f' ... checking with GET'
)
print(msg)
verb = 'get'
ret = requests.get(url,
timeout=TIMEOUT,