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
.env
file, change the key to your serpapi API KEY (you can find it in the dashboard). -
In the
script.js
file, change the// Predefined query (static)
line to your desired search term. -
In the
index.html
file, you can change thewebsite domain name
,image logo
,footer
line to your desired. -
and last, run the
scraptool.bat
. -
To stop the
scraptool
, open the cmd that already opened, and pressctrl + c
to stop.