joenano / rpscrape

Scrape horse racing results data and racecards.
140 stars 57 forks source link

TypeError: Dict key must be str #132

Closed patem2 closed 1 year ago

patem2 commented 1 year ago

Hi Guys,

Looks like there is an issue with todays card on the racecards.py file:

Traceback (most recent call last): File "racecards.py", line 473, in main() File "racecards.py", line 469, in main f.write(dumps(races).decode('utf-8')) TypeError: Dict key must be str

Best Mark

hmesser1 commented 1 year ago

Getting same thing. I think there have been changes to the website this week

hmesser1 commented 1 year ago

Hi Guys,

Looks like there is an issue with todays card on the racecards.py file:

Traceback (most recent call last): File "racecards.py", line 473, in main() File "racecards.py", line 469, in main f.write(dumps(races).decode('utf-8')) TypeError: Dict key must be str

Best Mark

Worked for me just now. Must be temp issue RP end