1

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.

3

2 Answers 2

1

You can check this variant of httplib2 http://gnu.gabrielfalcao.com/bolacha/#uploading-a-file , it has examples on that page. You can get the code from http://github.com/gabrielfalcao/bolacha/tree/master

Sign up to request clarification or add additional context in comments.

Comments

0

I ended up solving the issue using Requests.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.