Skip to content

Commit

Permalink
Fix/sector (mariostoev#171)
Browse files Browse the repository at this point in the history
* ticker added

* typo fix
  • Loading branch information
Bicskow authored Oct 6, 2023
1 parent 35cfe15 commit bffd07a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion finviz/main_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def get_stock(ticker):
page_parsed = STOCK_PAGE[ticker]

title = page_parsed.cssselect('table[class="fullview-title"]')[0]
keys = ["Company", "Sector", "Industry", "Country"]
keys = ["Ticker","Company", "Sector", "Industry", "Country"]
fields = [f.text_content() for f in title.cssselect('a[class="tab-link"]')]
data = dict(zip(keys, fields))

Expand Down

0 comments on commit bffd07a

Please sign in to comment.