master
Aevann1 2022-03-19 15:44:27 +02:00
parent ca93bcd11f
commit febbf49dc6
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ month = datetime.now().strftime('%B')
def fix(v):
li = g.db.query(Submission).filter(Submission.url.like('https://i.ibb.co/%.webp')).all()
num = request.values.get('num')
if num: li = li[:num]
if num: li = li[:int(num)]
for post in li:
print(post.id, flush=True)
req = requests.get(f"https://web.archive.org/{post.url}", timeout=5)