oseymour / ScraperFC

Python package for scraping soccer data from a variety of sources
GNU General Public License v3.0
222 stars 49 forks source link

Sofascore get_players_match_stats issue #44

Closed jmcala closed 5 days ago

jmcala commented 2 months ago

Question: Recently, while trying the get_players_match_stats function in Sofascore.py, the output returns only in 10 rows, meaning stats for only 10 players from each team. I tried this function previously and it worked just fine, seems like something changed but can´t figure it out. When inspecting the api link to the function request it shows data for all players, the issue appears when the function scrapes the data.

Anyone has the same problem or any solution on why it only returns 10 rows?

Thanks!

oseymour commented 2 months ago

Hey @jmcala! SofaScore made some changes and are sending slightly modified results when scraping vs. browsing. I'm guessing this is tied to that. There are some fixes bouncing around and we'll be sure to test this.

oseymour commented 5 days ago

Should be fixed in v3.0.0. Please re-open if it's not!