02/03/2016 - The Python library requests is great for that, and as a bonus, it is . s = requests.session() ### Here, we're getting the login page and then .