-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
From the looks your current method of uploading does not support larger files. VT can support uploading large files.
Traceback (most recent call last):
File "/home/user/Documents/3/multiscanners-upload/uploader.py", line 255, in <module>
asyncio.run(main())
File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/home/user/Documents/3/multiscanners-upload/uploader.py", line 41, in main
await asyncio.gather(
File "/home/user/Documents/3/multiscanners-upload/uploader.py", line 60, in upload_virustotal
text = await resp.json()
File "/home/user/.local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 1103, in json
raise ContentTypeError(
aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url=URL('https://www.virustotal.com/api/v3/files')
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels