remotes/1693045480750635534/spooky-22
Aevann1 2022-03-19 15:46:54 +02:00
parent febbf49dc6
commit e580b6fe52
1 changed files with 2 additions and 1 deletions

View File

@ -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) == '<Response [200]>':
if str(req) == '<Response [200]>':
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)