Any ideas on how to scrape "People Also Ask" from Google Serps?

Search queries, such as in the link below, will sometimes trigger a "People Also Ask" section in the results.

https://www.google.com/search?safe=off&q=where+do+chocolate+diamonds+come+from

I cannot seem to scrape these results, no matter what XPath I use. Any ideas or recommendations? I'm running version 7.0.33 of SEOTools, and Office 2016.

Hi Tom,

Google is tricky because the output depends on several factors such as cookies, location etc. For example, I did not recieve a "People Also Ask" section from your query. This means that the request via SeoTools may not recieve one either because it uses different HTTP Headers.

If you look in the GoogleSearch.xml file in the SeoTools Connectors folder, you can see the HTTP headers we've used. Perhaps try to modify the connector for the appropriate xpath or set the headers manually under HTTP settings?

1 Like

even not every user get these suggestions. me - not. But why don't you use https://keywordtool.io/google-suggest or https://ubersuggest.io/ ?

Here is another good one... https://answerthepublic.com/