I currently have a little script that downloads a webpage and extracts some data I\'m interested in. Nothing fancy.
Currently I\'m downloading the page like so:
The requests module provides a modern API to HTTP/HTTPS capabilities.
import requests url = 'https://www.someserver.com/toplevelurl/somepage.htm' res = requests.get(url, auth=('USER', 'PASSWORD')) status = res.status_code text = res.text