Tips

Use requests-cache

The requests-cache library is installed with dabeplech.

Using the Monkey-patching feature of the requests-cache library, caching will be used for all requests.

import requests_cache

requests_cache.install_cache(backend="memory")

Note

By default, it uses a sqlite db but you can also use memory, redis or mongodb instead.