3 ms·
If authentication is cookie-based, you can use a Session object in python requests: http://docs.python-requests.org/en/master/user/advanced/#session-objects ht
by triplenineteen 9y ago
If authentication is cookie-based, you can use a Session object in python requests: http://docs.python-requests.org/en/master/user/advanced/#session-objects 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/authentication/#basic-authentication http://docs.python-requests.org/en/master/user/authenticatio...
Requests is a fantastic library.
- mrguyorama 9y agoThanks 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!