piermesh/docs/Components/hopper.md

775 B
Raw Blame History

hopper: Small internet interop utilities

🔗 Source

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