I'm making a python script that should zip a file and upload it at a site. My problem is I can't figure out how to login into the site to then upload the file in question.
I've searched trough the web but can't make any of the solutions presented online to work, probably because I don't understand most of them (my knowledge of cookies is quite limited).
The site in question is CurseForge. If anyone could point me into the right direction, it would be great.
I'm making a python script that should zip a file and upload it at a site. My problem is I can't figure out how to login into the site to then upload the file in question.
I've searched trough the web but can't make any of the solutions presented online to work, probably because I don't understand most of them (my knowledge of cookies is quite limited).
The site in question is CurseForge. If anyone could point me into the right direction, it would be great.
Krogerfeedback
Have you tried the 'requests' package with basic authentication? (as a starting point)
Hi, i tried those method but didnt work for me…
Krogerfeedback
In reply to mathew638:
Can you share the code you're using to upload with?