dfsfsd
This commit is contained in:
parent
0123848f5e
commit
783325e4cd
1 changed files with 1 additions and 1 deletions
|
@ -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})
|
req = requests.post('https://catbox.moe/user/api.php', data={'userhash':CATBOX_KEY, 'reqtype':'fileupload'}, files={'fileToUpload':f})
|
||||||
print(req)
|
print(req)
|
||||||
print(req.text)
|
print(req.text)
|
||||||
new_post.post_url = req.text
|
new_post.url = req.text
|
||||||
|
|
||||||
g.db.add(new_post)
|
g.db.add(new_post)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue