Is there any Github library for parsing Google SERP HTML into JSON? Or some other structured format to work with.

Daemon

Regular Member
Joined
Dec 31, 2009
Messages
209
Reaction score
78
Let's assume that you can scrape Google SERPs, but then want to parse them into JSON, or some other structured format, so you can work with them.

I'm looking for something that can do what the front pages of ScaleSERP or SERPAPI do. Where they take a SERP and you get the structured data, including the related keywords, people also ask, etc.

Is there any library or class on Github that can do this, and is current and regularly updated?

I found this library, https://github.com/ogt/google-search-results-parser - however it is very old, last updated 2013.

This parser seems well documented, but unfortunately it seems the developer stopped maintaining it in 2019.
https://serp-spider.github.io/documentation/search-engine/google/parse-page/
https://github.com/serp-spider/search-engine-google

I tried running it but it gives a DOMElement error, so I don't think it works anymore.

Is there any library or repository that is maintained that can do this? It doesn't have to be on Github.
 
Back
Top