doieijfdiw

remotes/1693045480750635534/spooky-22
fireworks88 2021-09-06 22:25:57 +02:00
parent 71ccb856ce
commit e733e7aee3
1 changed files with 1 additions and 1 deletions

View File

@ -537,7 +537,7 @@ def check_processing_thread(post, link, db):
print("spawn checking thread")
time.sleep(15)
image_id = link.split('/')[-1]
image_id = link.split('/')[-1].rstrip('.mp4')
headers = {"Authorization": f"Client-ID {IMGUR_KEY}"}
req = requests.get(f"https://api.imgur.com/image/{image_id}", headers=headers)