Skip to content

Requestor Module

Send get requests.

requestor

def requestor(url: str, session: Session = None, proxies: Dict[str, str] = None, timeout: int = 5) -> Response

Send get requests.

Arguments:

  • url str - The url to send a request to.
  • session Session - A Session object to send a request with.
  • proxies dict - Dictionary mapping protocol to the URL of the proxy.
  • timeout int - How long to wait for the server to send a response.