Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If authentication is cookie-based, you can use a Session object in python requests: http://docs.python-requests.org/en/master/user/advanced/#ses....

If it uses http basic auth, it's even easier: http://docs.python-requests.org/en/master/user/authenticatio...

Requests is a fantastic library.



Thanks for the links! The harddrive in my server died recently so I haven't had a chance to get it up and running again yet, but I will definitely update the script once I do!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: