Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running update.py #1

Open
dataslug1 opened this issue Apr 7, 2022 · 0 comments
Open

Error when running update.py #1

dataslug1 opened this issue Apr 7, 2022 · 0 comments

Comments

@dataslug1
Copy link

dataslug1 commented Apr 7, 2022

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant