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.2.tar.gz
(13.4 kB
view details)
Built Distribution
File details
Details for the file e-sim-game-scraper-0.0.2.tar.gz
.
File metadata
- Download URL: e-sim-game-scraper-0.0.2.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 | 662ad465a65635912bc12eb4b0a58dff9545661b181862b5202f3388ce3fc76d |
|
MD5 | 0eac7cd4f75c4779eacfa5c39bd627b3 |
|
BLAKE2b-256 | 7c951faf5ff71e1cfc611f6b1480daa8c914182e9949d12c37decd61e08dfe87 |
File details
Details for the file e_sim_game_scraper-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: e_sim_game_scraper-0.0.2-py3-none-any.whl
- Upload date:
- Size: 13.9 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 | 989979eef71c041f4635673936872e48a590fb318a53406fdcf90039b5f704e5 |
|
MD5 | 267e2760b26af93d000f2cd91df6ff0f |
|
BLAKE2b-256 | 141da528a2120c2bd869a9ac8a330ded058be8da12a048826f7cb3e78c69a6e4 |