scraping-understat-dataset
scraping-understat-dataset copied to clipboard
Error when running update.py
Hi and thanks for the interesting repo.
I have tried to update the shots with the update.py, but receive the following error:
No such file or directory: 'XXX\scraping\scraping\empty_url_update.txt'
I thought the directory looked wrong as folder "scraping" was used twice so I tried editting matchscraper.py to reference a higher working directory:
#CWD = os.getcwd() CWD = os.path.dirname(os.getcwd())
This seems to scrape because it prints all the new match ids in the console and gives no errors, but the datasets do not seem to be updated. Any ideas?
Many thanks!