master
Aevann1 2021-10-01 08:33:21 +02:00
parent f6a7932ad0
commit f4175244e5
1 changed files with 1 additions and 1 deletions

View File

@ -840,7 +840,7 @@ def submit_post(v):
req = requests.post('https://catbox.moe/user/api.php', data={'userhash':CATBOX_KEY, 'reqtype':'fileupload'}, files={'fileToUpload':f})
print(req)
print(req.text)
new_post.post_url = req.text
new_post.url = req.text
g.db.add(new_post)