Closed rmwesley99 closed 11 months ago
Getting the same issue too I'm afraid.
Same for me guys :-)
The offending horse is Practical-Move who was put forward for the 18:30 at Santa Anita USA, strange it's picking it up as it's obviously a non-runner?
Any ideas how to hack it to exclude this race or horse? I'd have a crack myself, but I'm away this weekend. If anyone does manage it, would you be able to share the JSON file? Many thanks!
I’m also on holiday lol
I’ll have a go in a bit, I tried a try / except on line 149 which didn’t work but haven’t had a chance to look at it properly.
The course ID from memory was 257 so maybe try to exclude in the reference file by commenting it out (which will probably spawn more errors lol)
I also have the same problem. However I only require the gb and ire races. Is there a simple way to filter these before the script starts to scrape the race cards?
Here you go guys, added another try / except statement as it generated a key error after the first try / except on the ValueError I'd tried earlier
Its fixed.
As always, many thanks @joenano for sorting it out.
Some day we all need to find a way to buy you a load of beers.
Also thanks @patem2 for the JSON.
As always, many thanks @joenano for sorting it out.
Some day we all need to find a way to buy you a load of beers.
Also thanks @patem2 for the JSON.
Thanks to everyone. Really appreciated
My pleasure guys and seconding the beers for joenano - way overdue 😀
I'm guessing everyone is getting the same issue downloading the racecard for tomorrow?
Bit pressed for time at the mo, so I'm assuming it is weird HTML on the website rather than an issue in the code. Will try downloading it again later. Cheers, Richard