Skip to content

A script for keeping Trailblazer Reloaded top players up to date on the WOM League.

License

Notifications You must be signed in to change notification settings

Faabvk/wom-leagues-scraper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WOM Leagues Scraper

A quick and dirty python script to run periodically to scrape the hiscores and keep the top players updated on WOM Trailblazer Reloaded.

Setup

Python 3.8 or higher is required to use the wom.py dependency. This shouldn't be an issue as I think ubuntu ships with 3.8 by default.

  • Clone the repo if you plan to only run the script
  • Fork the repo if you plan to contribute to it

Create a virtual environment and activate it

$ python3 -m venv .venv
$ source .venv/bin/activate

Install dependencies

$ pip3 install -r requirements.txt

Read through the constants declared in main.py in the Configuration section. Change any values as you see fit for development.

Recommended values for production:

  • LOG_LEVEL: DEBUG
  • METRIC_LIMIT: None
  • ENABLE_SEASONAL: True
  • BASE_URL: Leave this untouched
  • DELAY: 60
  • BROWSER_USER_AGENT: Leave this untouched
  • WOM_API_KEY: Update if you have a key
  • LEADER_GROUP_NAME: Leave this untouched
  • WOM_USER_AGENT: Update if you want

Run the script

$ python3 main.py

License

WOM Leagues Scraper is licensed under the MIT License.

About

A script for keeping Trailblazer Reloaded top players up to date on the WOM League.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%