Google Featured Snippet


Is there an xpath to scrape featured snippets out of google for specific search phrases?


Do you mean these?

If so, this XPath worked for me:

However, I would not count on it working on other types of snippets. Another useful thing to scrape would be the "Others have also asked" box.


Exactly...unfortunately I couldn't' get it to work. I'm trying to pull in all the featured snippets for a long list of keywords I know have the snippets already. Trying to see what type of snippet format are showing for the terms.