This is a library that builds on top of the requests library, adding quite a bit of functionality. PyGrab is fully interoperable with the requests library and has virtually identical syntax for the shared functions/methods/classes.
pygrab Module
This module implements the primary developer interface for pygrab.
pygrab.get()
Parameters
url (str): The URL or IP address to get.
retries (int, optional): The number of times to retry the request if it fails. Defaults to 5.