From e580b6fe52de7171dc6275957f9c09d15b792e07 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 19 Mar 2022 15:46:54 +0200 Subject: [PATCH] fds --- files/routes/admin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index e420889af1..94a48b960b 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -33,7 +33,8 @@ def fix(v): for post in li: print(post.id, flush=True) req = requests.get(f"https://web.archive.org/{post.url}", timeout=5) - if str(req) == '': + if str(req) == '': + print(post.url, flush=True) post.url = req.url.replace('/https://i.ibb.co/','if_/https://i.ibb.co/') post.thumburl = post.url print(post.permalink, flush=True)