Thanks to visit codestin.com
Credit goes to github.com

Skip to content

freire-guido/gpro

Repository files navigation

GPRO

web-based scraping and analysis

Structure:

gptools.py provides the GPDriver class, which is a selenium webdriver with gpro browsing built-in. main.py interacts with the config.json file to make shell operation easier.

Setup:

  1. Install Selenium with the Firefox webdriver (used to log in and out of GPRO without having to store your credentials in a dodgy config file).
  2. Install BeautifulSoup (scrapes table data).
  3. Install pandas (outputs tables in a tabular pickle format).
  4. (optional) Choose what "tables" and "quali" information from the race analysis and qualify screens to grab, as well as whether to merge and get season track data by editing the config.json file (comes with sensible defaults).

Usage:

  • python3 main.py [season] [fromRace] [toRace] will dump the data as outlined in config.json in the data folder.

Example: python3 main.py 96 10 13 will create a data/96 folder with the tables in config.json:"tables"

  • python3 main.py quali will dump your next race's qualifying data (testing, setup, etc.) as outlined in config.json

About

GPRO web-based scraping and analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published