Skip to main content

Extract text from a YouTube video in a single command, using OpenAi's Whisper speech recognition model

Project description


Python script to find your League of Legends ranked statistics across all of your accounts. This script finds your all time ranked statistics (Season 1 to Season 13) across all of your accounts and merges them. You will see your:

  • Total Games
  • Total Wins
  • Total Loses
  • Win rate
  • Average kills
  • Average deaths
  • Average assists
  • Average KDA
  • Average gold
  • Average CS
  • Most kills in game
  • Most deaths in a game
  • Total double,triple, quadra and penta kills
  • Average damage dealt
  • Average damage received

for each champion and a grand total.


pip install lol-stats

Google Chrome must be installed on your system. The program automatically installs ChromeDriver binaries required for Selenium web scrapping.


Lauch the program:

import lol_stats


In console you'll see that the program is launched. Go to http://localhost:8126 from a browser to interact with the program.

To run the program on a different port, you pass an optional argument to launch() function:

  • Enter all of your LOL accounts and their servers (euw, na, tr, kr etc.) and press "Submit". You can submit without any account to see an example result (Faker's account "Hide on bush" 😀)
  • Now you should see "Gathering data for x accounts" and the program is working. You can see the progress in Python program's console. Each time a season data for an account is fetched, it is printed to the console. The program should usually take 20-60 seconds.
  • Upon completion, you'll see the results in your browser. You can also download them using the "Download CSV" button. Python will automatically download it as result.csv for your convenience.
  • If you want to rerun it for different accounts, refresh the browser.

Note: The program is multithreaded to process multiple accounts as quickly as possible. This may cause high CPU and RAM usage, which is normal.

Example Output

How it works

The program uses Selenium for web scrapping. It opens Google Chrome in background, visits page for each account and scrapes the data. Since doesn't provide an API for fast data retrieval, the only option is physically visiting it from browser. This is why the program is resource-intensive and can take some time.


  • The program fetches data from If is unavailable the program won't work. If the data on is wrong so will be the program's results.

  • Sometimes it takes long for to respond. In that case you may need to wait for 5-10 minutes, or you can try again later. Track the progress from Python console, it should print the progress like:

Data for accounts:
started processing
installing chromedriver
installed chromedriver
concurrent execution
Page is fully loaded.
time=  0.1226658821105957 seconds
Recorded Season 2023 S2 for
time=  0.705498218536377 seconds
Recorded Season 2023 S1 for
time=  0.6393542289733887 seconds
--- 18.60 seconds ---


Raise an issue on the GitHub repo:

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

lol-stats-1.0.1.tar.gz (40.5 kB view hashes)

Uploaded Source

Built Distribution

lol_stats-1.0.1-py3-none-any.whl (39.5 kB view hashes)

Uploaded Python 3

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