Const
Parses related search queries that appear at the bottom of Google search results. This parser extracts the "Related searches" or similar related query suggestions that Google displays to help users find similar or relevant topics.
import { RelatedSearchesResult, search } from 'google-sr';const results = await search({ query: 'nodejs frameworks', parsers: [RelatedSearchesResult],});// results[0].queries might contain: ["express.js", "react.js", ...] Copy
import { RelatedSearchesResult, search } from 'google-sr';const results = await search({ query: 'nodejs frameworks', parsers: [RelatedSearchesResult],});// results[0].queries might contain: ["express.js", "react.js", ...]
The CheerioAPI instance
Whether to exclude results with missing properties
Parses related search queries that appear at the bottom of Google search results. This parser extracts the "Related searches" or similar related query suggestions that Google displays to help users find similar or relevant topics.