I stepped through the 'Basic Usage' of punters_client (literally copy-paste) and everything worked up until using scrape_races. When running races = scraper.scrape_races(meet) the following error was received: "TypeError: expected string or bytes-like object".
See the attached image where the error can be traced back to line182 in re.py (return _compile(pattern, flags).search(string)).
I'm using Docker Toolbox on Windows 10 to run a datascience-notebook docker container. I'm running your code in a Jupyter Lab on that container that has Python 3.6 installed. The following packages are all installed and seem to be working: cache_requests, lxml
I stepped through the 'Basic Usage' of punters_client (literally copy-paste) and everything worked up until using scrape_races. When running
races = scraper.scrape_races(meet)
the following error was received: "TypeError: expected string or bytes-like object".See the attached image where the error can be traced back to line182 in re.py
(return _compile(pattern, flags).search(string))
.I'm using Docker Toolbox on Windows 10 to run a datascience-notebook docker container. I'm running your code in a Jupyter Lab on that container that has Python 3.6 installed. The following packages are all installed and seem to be working: cache_requests, lxml
Any help would be great!