jdjufrw
This commit is contained in:
parent
477a10fcd9
commit
df56d76c6c
1 changed files with 1 additions and 0 deletions
|
@ -104,6 +104,7 @@ def upload_video(file):
|
|||
with open(file_path, 'rb') as f:
|
||||
try:
|
||||
r = requests.post('https://api.imgur.com/3/upload', headers=headers, files={"video": f})
|
||||
|
||||
print(r.text)
|
||||
#r.raise_for_status()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue