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.4.tar.gz
(13.4 kB
view details)
Built Distribution
File details
Details for the file e-sim-game-scraper-0.0.4.tar.gz
.
File metadata
- Download URL: e-sim-game-scraper-0.0.4.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a926ee277087f232b7e768b430349c5b5517292cf5cd674229979d1ecbf451f0 |
|
MD5 | ec355a35703480b44153d24c825796f9 |
|
BLAKE2b-256 | e4ecc3c03e2e7913393a5e811e7422c5e04e766db23d16e678f37e4389520e41 |
File details
Details for the file e_sim_game_scraper-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: e_sim_game_scraper-0.0.4-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad14f6f3869bf7f362b880d8a758e21d788660a5e61f484aa1d6504df678bc4c |
|
MD5 | e681227539a16a4b3f26f47a8ceaecc9 |
|
BLAKE2b-256 | be427f17dce815d2308c6e6b35ca4b52d03f451da58fedf3025374a378bba9d2 |