mariostoev/finviz

IndexError for get_insider() if no transactions present

Closed this issue · 1 comments

finviz.get_insider('FIZZ')
..
..table = page_parsed.cssselect('table[class="body-table"]')[0]
IndexError: list index out of range

other examples: TRVG, WEBR

Should perhaps return empty dict instead?

Same issue here with NIO stock