Skip to main content

No project description provided

Project description

e-sim-scraper

Unofficial scraper for e-sim game

Installation

pip install e-sim-game-scraper

Usage

from e_sim_game_scrapper import EsimScraper

# or from e_sim_game_scrapper.EsimScraper import get_page_data

# Example 1
link = "https://luxia.e-sim.org/battleDrops.html?id=40000&showSpecialItems=yes"
result = EsimScraper.get_page_data(link)

# Example 2 (locked page)
# if you already have a tree (fromstring object):
tree = your_get_tree(link)

link = "https://luxia.e-sim.org/showShout.html?id=1"
result = EsimScraper.get_page_data(link, tree)
# or call the function directly:
result = EsimScraper.showShout(tree)

List of supported base-links / functions (alphabetical order):

  • achievement
  • article
  • auction
  • battleDrops
  • battles
  • battlesByWar
  • citizenStatistics
  • coalitionStatistics
  • companiesForSale
  • congressElections
  • countryEconomyStatistics
  • countryPoliticalStatistics
  • countryStatistics
  • events
  • jobMarket
  • law
  • monetaryMarket
  • newCitizenStatistics
  • newCitizens
  • news
  • newspaper
  • newspaperStatistics
  • party
  • partyStatistics
  • presidentalElections
  • productMarket
  • profile
  • region
  • showShout
  • stockCompany
  • stockCompanyMoney
  • stockCompanyProducts

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

e-sim-game-scraper-0.0.3.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

e_sim_game_scraper-0.0.3-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file e-sim-game-scraper-0.0.3.tar.gz.

File metadata

  • Download URL: e-sim-game-scraper-0.0.3.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for e-sim-game-scraper-0.0.3.tar.gz
Algorithm Hash digest
SHA256 5fbfed961c56856021ec1473a60e934baff4bc4977ec4c1f4d1dd52bcde0bf76
MD5 ae6f1189f0fed332ae229005fd521b2f
BLAKE2b-256 6e16e8e2c2d0b1ece6cf07bb27add9e71cad602906e615e2253668e14ae1748f

See more details on using hashes here.

File details

Details for the file e_sim_game_scraper-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for e_sim_game_scraper-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 79ffb93c614e28e56d749ed07c0319e08ae959a639c051bdd8f7a93323b8f480
MD5 2820eac750d438bf5fff4fc4f07a943e
BLAKE2b-256 ea2428a6d22680eb5ccb7790065e4f54293345804faf722454a63e264e7f40b3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page