Is there a way to "cache" the requests I make with the python "requests" module in a way that even if I go offline the module still returns the webpage as if I was online? How can I achieve something like this? Currently I only found caching libraries that just cache the webpage but you still have to be online...
I think you can use request_cache module available.
Please check http://requests-cache.readthedocs.org/en/latest/user_guide.html
Once you cache using request_cache data is available even if you are disconnected.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With