A NodeJS script for SEO keywords. It gets the number of results and the monthly search volume from Google and use Excel (.xlsx) files as input and output.
This will be used to clone this repository on your machine.
https://nodejs.org/download/release/v8.10.0/node-v8.10.0.pkg
You need to install NodeJS in version 8.10.0. This will be used to run our scripts.
To ensure consistency between platforms, you need to install the Linux Subsystem for Windows 10. This will provide you a Linux command-prompt inside Windows.
In the command-prompt, paste the following command and hit the "enter" key:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Then, reboot your computer.
https://www.microsoft.com/store/productId/9NBLGGH4MSV6
Launch the Ubuntu command-prompt:
Enter a username and a password when asked (password will be invisible when typing):
Now that you have a Linux command-prompt on Windows, use it to install Linux prerequisites below.
This will be used to clone this repository on your machine.
sudo apt-get update
sudo apt-get install -y git
You need to install NodeJS in version 8.10.0. This will be used to run our scripts.
sudo apt-get install -y nodejs npm
You need to install these dependencies.
sudo apt-get install -yq gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget
cd /path/to/your/folder/
On Windows, in the Ubuntu command-prompt, you can go at the root of your C:/ drive with this command:
cd /mnt/c/
git clone https://github.com/RomainFallet/keyworder.git
cd ./keyworder/
First:
sudo npm install
Then:
sudo npm install puppeteer@1.13.0 --unsafe-perm=true --allow-root --no-save
Finally:
npm run build
Open the "input.xlsx" file with Excel and fill the first column with the keywords you want:
This first line is considered as the header and will not be processed.
npm start
When the script has completed the work, you can view the results in the "output.xlsx" file, generated at the root of the project:
The "results" column gives the number of total results from https://www.google.fr:
The "volume" column gives the average number of monthly searches for this specific keyword from https://searchvolume.io:
- NodeJS - Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
- Puppeteer - Headless Chrome Node API.
- Romain Fallet - Initial work
This project is licensed under the Creative Commons Attribution 4.0 International Public License. See license for details.