775 B
775 B
hopper: Small internet interop utilities
Components.hopper.downloadFile(url, text=True, mimeType=None)
Download resource from url and convert it to text or a data url
Components.hopper.get(url: str, params=None, followTags=None)
http/s get request
- Parameters:
- url (str)
- params – Requests (library) parameters
- followTags – None or list of tags to download the src/href from
Components.hopper.post(url: str, params=None)
http/s post request
- Parameters:
- url (str)
- params – Requests (library) parameters