Closed schaferyan closed 10 months ago
Related to https://github.com/serpapi/public-roadmap/issues/543
Facets are now in allSortAndFilterFacets
.
Object.values(JSON.parse(document.querySelector(`script#__NEXT_DATA__`).textContent).props.pageProps.initialData.moduleDataByZone).find(({ type }) => type === "SearchSortFilterModule").configs.allSortAndFilterFacets
A customer whose use case a fix for this would support:
A customer reported we don't seem to be scraping the
filters
in Walmart Search, even if theinclude_filters
parameter is set to true. It looks like possibly the parameter isn't getting applied correctly for some reason.Playground | Intercom | Search Inspector