serpapi / public-roadmap

Public Roadmap for SerpApi, LLC (https://serpapi.com)
50 stars 3 forks source link

[Sports Results] Matches Not Scraped #1352

Closed schaferyan closed 7 months ago

schaferyan commented 7 months ago

A user reported that for Sports Results where "Matches" appear in the HTML, we are not parsing them.

It appears that some Sports Results include a "Matches" tab instead of a "Games" tab. At first glance I thought this might be for results in countries outside the US, but it appears to be determined by the type of sport.

For example, searches for Hockey, Basketball, and American Football teams all seem to return the "Games" tab.

However, searches for Soccer teams return the "Matches" tab.

We currently are not parsing any information for Sports Results with "Matches", except for the title and thumbnail. We are also incorrectly parsing the type into the rankings key.

"Matches" also seem to have a different format than games.

Screenshot 2024-01-12 at 1 36 12 PM

Intercom | Inspector ( Soccer Matches 1) | Inspector (Soccer Matches 2) | Inspector (Basketball Games) | Playground

marm123 commented 7 months ago

Duplicate of https://github.com/serpapi/public-roadmap/issues/1334

btaunt commented 7 months ago

This should also be fixed now with the updates made for https://github.com/serpapi/public-roadmap/issues/1334

Games now parsed in original example: Playground