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

teams_scraper returns 503 #74

Open
prosilico opened this issue Nov 21, 2020 · 1 comment
Open

teams_scraper returns 503 #74

prosilico opened this issue Nov 21, 2020 · 1 comment

Comments

@prosilico
Copy link

Hello,

I have been using teams_scraper.py successfully but am now getting the following error:

python ./teams_scraper.py 1245518
Traceback (most recent call last):
  File "./teams_scraper.py", line 29, in <module>
    main()
  File "./teams_scraper.py", line 26, in main
    store_data(team_id, output_folder)
  File "./teams_scraper.py", line 7, in store_data
    summary = get_entry_data(team_id)
  File "C:\repos\Fantasy-Premier-League\getters.py", line 49, in get_entry_data
    raise Exception("Response was code " + str(response.status_code))
Exception: Response was code 503

Running on Anaconda3, Windows 10

@vaastav
Copy link
Owner

vaastav commented Nov 22, 2020

This happens when the game is updating. If you tried it when the game was updating then this is the expected behaviour.

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

2 participants