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 and divisions scraping is broken #13

Open
dgmdan opened this issue Dec 15, 2018 · 1 comment
Open

Teams and divisions scraping is broken #13

dgmdan opened this issue Dec 15, 2018 · 1 comment
Assignees

Comments

@dgmdan
Copy link
Collaborator

dgmdan commented Dec 15, 2018

Looks like the site changed the CSS classes that our code expects (like mod-teams-list-medium), but now they have JSON we could scrape instead.

Example URL: http://www.espn.com/nfl/teams
Look for JSON near window['__espnfitt__']=

I plan on working on this in the near future. 13 tests are failing due to this.

@dgmdan
Copy link
Collaborator Author

dgmdan commented Dec 15, 2018

Also, the methods responsible for this are get_divisions and get_teams_in.

@dgmdan dgmdan self-assigned this Oct 30, 2023
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