Giter Club home page Giter Club logo

big-crawler-ips's Introduction

Big Crawler IPs 🕷️

Welcome to Big Crawler IPs! This is a serverless function that routinely checks both Google and Bing's list of official crawler IP addresses and saves them into a BigQuery table.

Deployment Guide

Watch the step by step deployment guide here.

Environment Variables

When deploying Big Crawler IPs your Cloud Function needs the following environment variables:

  • bqProjectId: Your Google Cloud Project's ID
  • bqDataset: The name of your BigQuery dataset
  • bqTable: The name of your table in BigQuery
  • gServiceAccount: Your Google Cloud Service Account
  • kgKey: A unique identifier to "authenticate" incoming HTTP requests

How It Works

Once the function is deployed as a Google Cloud Function that is triggered via cron job HTTP request, the function then:

  1. Checks to make sure that your table exists and if it doesn't create one
  2. Gathers all of the existing IPs from your BigQuery table
  3. Scrapes the offical GoogleBot and BingBot IP address files
  4. Cross references the pre-existing IPs in BigQuery and the official scrapped IPs
  5. Saves the IPs that were found on the official list but, not in BigQuery

big-crawler-ips's People

Contributors

jordanchoo avatar

Watchers

 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.