forked from rDrama/rDrama
fds
parent
febbf49dc6
commit
e580b6fe52
|
@ -34,6 +34,7 @@ def fix(v):
|
||||||
print(post.id, flush=True)
|
print(post.id, flush=True)
|
||||||
req = requests.get(f"https://web.archive.org/{post.url}", timeout=5)
|
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.url = req.url.replace('/https://i.ibb.co/','if_/https://i.ibb.co/')
|
||||||
post.thumburl = post.url
|
post.thumburl = post.url
|
||||||
print(post.permalink, flush=True)
|
print(post.permalink, flush=True)
|
||||||
|
|
Loading…
Reference in New Issue