Skip to content

list index out of range #199

@TZimm55

Description

@TZimm55

As of today 2023-10-13, I tried to run:

import finviz

print(finviz.get_stock('aapl'))

Error received:

File: "...\finviz\main_func.py", line 35, in get_stock
title = page_parsed.cssselect('table[class="fullview-title"]')[0]
IndexError: list index out of range

Additional Info:

  • OS: Windows 10
  • Python IDE: Tried both VSCode and Thonny
  • Python Version: 3.9.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions