scraping-understat-dataset icon indicating copy to clipboard operation
scraping-understat-dataset copied to clipboard

Error when running update.py

Open dataslug1 opened this issue 2 years ago • 0 comments

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!

dataslug1 avatar Apr 07 '22 18:04 dataslug1