s32x / ovrstat

:video_game: An Unofficial Overwatch Stats API
https://ovrstat.com
BSD 3-Clause "New" or "Revised" License
99 stars 18 forks source link

Newest update changes website #45

Closed OzairP closed 5 years ago

OzairP commented 5 years ago

I don't know Go but I believe the service is now failing and returning 404's for every player since a new update to the website.

The falsey error is here: https://github.com/s32x/ovrstat/blob/master/ovrstat/player_stats.go#L95

It looks like you were using an internal http api, but now that does not exist and the data is just served with the HTML meaning actual web scraping has to be done.

tystuyfzand commented 5 years ago

This update did indeed break it, but it looks like we can still use the search page for the exact same data. I'm working on an update using the following URL.

https://playoverwatch.com/en-us/search/account-by-name/Viz%231213

OzairP commented 5 years ago

Thanks!