dashee87/cryptory

timeout: The read operation timed out

Opened this issue · 1 comments

Suddenly geting the above mentiones error when calling
my_cryptory.get_stock_prices("GOOG")
for example.

Any ideas how to resolve it? It used to work fine and no changes have been made.
Thanks!

Apologies for the delay in getting back to you. Looks like you're getting a timeout error. This can happen if takes too long to scrape the web page. A simple solution is to increase the number of seconds you allow before a timeout error is returned. This can done when you initialise your Cryptory class i.e.

my_cryptory = Cryptory(from_date = "2017-01-01", timeout=100)