GithubHelp home page GithubHelp logo

carlosjurado / google-index-checker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alvaro-escalante/google-index-checker

0.0 0.0 0.0 43 KB

Scaling Google Indexation Checks with Node.js

JavaScript 100.00%

google-index-checker's Introduction

  

Google Indexation checker

Scaling Google Indexation Checks with Node.js

This script provides an accurate report on the current Google indexation status for a given url. It displays Indexed or Not Indexed on a results.csv file.

The script is able to verify an unlimited number of URLs with any kind of problematic characters: parameters, encoding, reserved characters, unsafe characters, different alphabets – if Google has indexed it, our script will find it. To find read more read our article at Builtvisible | Scaling Google indexation checks with Node.js

Google does not allow automated queries according to their Terms of Service. So, if you use our script, please use it responsibly.

Comparing Google indexation checker with other tools available:

Set Up

Download zip or clone repo:

git clone https://github.com/alvaro-escalante/google-index-checker.git

With npm

npm install

Or Yarn

yarn install

ScraperAPI

The tool uses ScraperAPI as a proxy to be able to make multiple request without being blocked.

Set up an account with scraperapi.com to get your api key.

Insert your API key on the .env_sample and rename this file .env this file is excluded from the repo for security reasons.

Depending on your plan you will have more or less concurrent request allowed, the script will automatcally make a request to ScraperAPI to check the max concurrent request for the account.

You can use this file for testing: urls.csv

Place the urls.csv file on the main folder.

Note: Make sure urls containing commas have double quotes around them

Start

npm start
yarn start

Results

In the ternimal:

And finally a results.csv will be created with the indexation report.

URL Status
https://builtvisible.com/ Indexed
https://www.megafaaaaaakeurl.com/no-way Not Indexed
http://thisoneisanotherfakeurlfortesting.co.uk/ Not Indexed
https://descubriendoelviaje.es/ Indexed
http://www.gruppo.mps.it/ap_trasparenzaweb/Documenti%5C103029489.pdf Indexed
https://www.swing-autovermietung.de/#!ueberuns Indexed

Any errors will be automatically recycled and run again

ScraperAPI will not consider errors as requests and won't count them as credits.

Note: Make sure the provided csv with the urls it's named urls.csv

Used packages

Name Description
axios Promise based HTTP client for the browser and node.js
chalk Terminal string styling done right
csv-parser Streaming CSV parser that aims for maximum speed as well as compatibility with the csv-spectrum test suite
sanitize-html Provides a simple HTML sanitizer with a clear API
dotenv Dotenv is a zero-dependency module that loads environment variables

google-index-checker's People

Contributors

a-fernandez-naves avatar alvaro-escalante avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.