Skip to content

Commit

Permalink
added stockCompanyStatistics
Browse files Browse the repository at this point in the history
  • Loading branch information
akiva-skolnik committed Nov 20, 2023
1 parent a231f34 commit 4ab5fc6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions e_sim_game_scrapper/EsimScraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,10 @@ def countryEconomyStatistics(tree: fromstring) -> dict:
return result


def stockCompanyStatistics(tree: fromstring, link: str) -> dict:
return citizenStatistics(tree, link)


def citizenStatistics(tree: fromstring, link: str) -> dict:
citizens = "citizenStatistics" in link
country = tree.xpath('//*[@id="countryId"]//option[@selected="selected"]')[0].text
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="e-sim-game-scraper", # https://pypi.org/project/e-sim-game-scraper
version='0.0.2',
version='0.0.3',
author="Akiva",
author_email="akiva0003@gmail.com",
url=f"https://github.com/akiva0003/e-sim-game-scraper",
Expand Down

0 comments on commit 4ab5fc6

Please sign in to comment.