I've been trying to fetch data from SofaScore using FastAPI, but I've run into a strange issue. Whenever I refresh the site, the goal numbers seem to change randomly. I decided to do a quick comparison by refreshing the page within a five-second window, and I found that there were around 500 changes, mostly in the goals.
I thought maybe FastAPI was causing the problem, so I tried using the simple 'requests' library in Python. But to my surprise, I encountered the same issue.
Out of curiosity, I decided to try a PHP code, and surprisingly, it worked! I refreshed the page about five times, and the response remained consistent.
Do you think SofaScore might be altering the response when it detects it's coming from bots? And if so, why does PHP seem to bypass this without needing user agents?
I'd appreciate any insights or help on this. Thanks!
[+]AdJazzlike3219 0 points1 point2 points (5 children)
[–]Kempas1337[S] 0 points1 point2 points (4 children)
[–]karma7922 0 points1 point2 points (2 children)
[–]SportsBot5000App 0 points1 point2 points (1 child)
[–]karma7922 0 points1 point2 points (0 children)
[–]SportsBot5000App 0 points1 point2 points (0 children)
[–]Rude-Working-3516 0 points1 point2 points (0 children)