lit26 / finvizfinance

Finviz analysis python library.

Home Page:https://finvizfinance.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Suggestion - timeout for scrapoing

camilo-rojas opened this issue · comments

Hi thanks for the time here, im thinking of using your library, one suggestion:
In the Util.py - webscrap
website = requests.get(url, headers=headers)
You may want to setup a timeout, as this helps handle different use cases.
better if its handled from the Object constructor as an optional parameter.

Thanks again.

Thanks for your advice. I will implement it.

The package is updated. Please check the latest version.