/gg-scrape

scrape a build, runes, and skills from mobalytics and champion.gg

Primary LanguagePython

gg-scrape

pylint Score Code style: black

A little Python CLI app that provides a League of Legends champion build by scraping the web.

The goal was to not have to open a browser tab (or be advertised to) to quickly check a build before a match. The HTML is requested and parsed sequentially, so it's somewhat slow (but still faster than opening a browser, probably).

Installation

python -m pip install gg-scrape --user

Usage

ggs [OPTIONS] CHAMPION [ROLE]

Sites that are currently (mostly) supported:

Screenshots

help text screenshot of the app in use unavailable build handling verbose output

Requirements

Depends on the anytree, beautifulsoup4, pyppeteer, Typer, and requests Python libraries.

Contributions

Thanks to @Mycsina for feedback and helping to improve and expand this package's functionality!

Pull requests are welcome!