This looks specific to the date as today works but tomorrow doesn't so it is likely that if you see this message a couple of days later it won't exist.
Traceback (most recent call last):
File "C:\Users*\rpscrape\scripts\racecards.py", line 463, in
main()
File "C:\Users*\rpscrape\scripts\racecards.py", line 459, in main
f.write(dumps(races).decode('utf-8'))
TypeError: Dict key must be str
This looks specific to the date as today works but tomorrow doesn't so it is likely that if you see this message a couple of days later it won't exist. Traceback (most recent call last): File "C:\Users*\rpscrape\scripts\racecards.py", line 463, in
main()
File "C:\Users* \rpscrape\scripts\racecards.py", line 459, in main
f.write(dumps(races).decode('utf-8'))
TypeError: Dict key must be str