I am using Python\'s requests library in one method of my application. The body of the method looks like this:
def handle_remote_file(url, **kwargs): res
The easiest way seems using requests-file. https://github.com/dashea/requests-file (available through PyPI too)
"Requests-File is a transport adapter for use with the Requests Python library to allow local filesystem access via file:// URLs."
This in combination with requests-html is pure magic :)