Skip to content

gblokker/pcs-webscraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PCS WebScraper

A web scraper for ProCyclingStats.com, available in both Rust and Python.

Overview

This project provides tools to scrape professional cycling race data from ProCyclingStats, including:

  • Individual race results and details
  • Cyclist race history and results
  • UCI WorldTour and ProSeries circuits
  • Stage races and general classifications

Packages

Python bindings with Rust backend for high performance.

pip install pcs-webscraper

See the Python README for details.

Native Rust library with async support.

[dependencies]
pcs-webscraper = "0.1.0"

See the Rust README for details.

Quick Example

Python:

from pcs_webscraper import Race

race = Race("paris-roubaix", 2024, None)
race.scrape()
print(f"Winner: {list(race.results.items())[0]}")

Rust:

let mut race = Race::new("paris-roubaix".to_string(), 2024, None);
race.scrape().await?;
println!("Results: {} riders", race.results.len());

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors