GithubHelp home page GithubHelp logo

google_url_scraper's Introduction

Python script: Scrape top Google search results for a given keyword

The script extracts only wikipedia pages URL's from Google search results for a given keyword. This script will be very useful if you want to find the wikipedia pages of Personalities, Celbrities, Sports persons etc

I'm resticting Google to show only wikipedia pages URL's by giving this "site:en.wikipedia.org/wiki/" rule while searching Google. Modify the url as per your needs.

Inside the script in the place of keywords enter your own keywords.

I'm using inbuilt python Google Search module. The URL's of the wikipedia pages will be output to the python console

You can continuously ping Google and extract search results of 100 keywords without getting blocked. Post this limit Google server stops responding to the script thus you get an error in the console.

I'm using a data card, so I will disconnect and reconnect to internet (new IP) again after extracting search results for 100 keywords.

If you are using a router just restart it.

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.