A simple Google SERP Scraping Tool using SERP API using node.js in Windows OS.
-
node.js
-
dotenv
-
serpapi
install the serpapi and dotenv (in the directory) using powershell;
npm install-
In the
.envfile, change the key to your serpapi API KEY (you can find it in the dashboard). -
In the
script.jsfile, change the// Predefined query (static)line to your desired search term. -
In the
index.htmlfile, you can change thewebsite domain name,image logo,footerline to your desired. -
and last, run the
scraptool.bat. -
To stop the
scraptool, open the cmd that already opened, and pressctrl + cto stop.