Replies: 1 comment 1 reply
-
I have added the stats to runners in the racecard json. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
First things first, a massive thank you for your great work. The racecard scraping works amazingly well. I'm nothing more than a beginner when it comes to coding and I have attempted to scrape the course and distance stats for each horse by replicating the code that it already there in racecards.py and taking the necessary data-selector but I got nothing but "null" when I scraped the racecards for tomorrow.
Essentially, what I'm looking to do and believe would be a great addition would be to scrape the course and distance record for each horse (whether that be from the letters such as "CD" on the racecard itself or the numbers or percentages in the "Stats" section at the bottom of each racecard). I'm also keen on scraping the data in the "Rules Races" row for each horse, and specifically the "runs", "wins", "winnings", and "earnings" figures.
In the settings file there is indeed a "prize" setting but this looks to relate to the prize money on offer to the winner of each race rather than the prize money earned by each horse previously.
Any help would be much appreciated, or if someone could give me a few tips or point me in the right direction that would be great. Thanks again for your fantastic work.
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions