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.1.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: e-sim-game-scraper-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 032d4301f47f32f0acf7a43fb87cd1a39a34ca518d7a5006779168f7338d8df0
MD5 de34aafde2f044d8a37391166ec3c86e
BLAKE2b-256 390c95fe3f1d9b09b3e31c92e23a669175edf13939dbe0fb99efe2d35d073b43

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for e_sim_game_scraper-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 25512ad37b90dae5c0c66495bb70041d4c00b2d5aef27c164e2a0b364d99e4b4
MD5 18f012c5783c0dba432b4d899c23d5d6
BLAKE2b-256 f1cc96ad9d681efb828bc1b82aa5fe5592a66723237d2c51046a652c76c8fda3

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