espn-scraper icon indicating copy to clipboard operation
espn-scraper copied to clipboard

Teams and divisions scraping is broken

Open dgmdan opened this issue 6 years ago • 1 comments

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 avatar Dec 15 '18 16:12 dgmdan

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

dgmdan avatar Dec 15 '18 16:12 dgmdan