lit26 / finvizfinance

Finviz analysis python library.

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BUG: Insider Page is not giving the error.

huzaifazahoor opened this issue · comments

finvizfinance version checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the master branch of finvizfinance.

Reproducible Example

from finvizfinance.insider import Insider
finsider = Insider()
insider_trader_df = finsider.get_insider()

Issue Description

Whenever we call the Insider() class. It throws a below error:

AttributeError: 'NoneType' object has no attribute 'findAll'

I think it is throwing the error because of Finviz Restrictions to get only the insider data from the insider page. You should use different user agents to see, how we can make this work.

Expected Behavior

It should get the Data Frame, like how you have used it. Please work on it.

Installed Versions

finvizfinance.0.14.1

This issue is fixed in the new version. Thanks for reporting.