Skip to content

ABrisset/google_suggest_scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Google Suggest Scraper

A Ruby command line to tool to scrape Google Suggest

Installation

Clone the repo or download zip file, use it locally or upload it to whatever hosting you want.

Server Requirements

  • Ruby 2.4.0
  • Nokogiri

Usage

Install the Nokogiri ruby gem via Bundler using bundle install. Then, just run :

ruby scraper.rb [options]

Options :

  • -q : keyword ("iphone" for example)
  • -l : language ("fr", "en", etc.)
  • -g : location ("FR", "DE", etc.)

Enter a keyword and, optionaly, a language ("fr" is the default language) and/or a country ("FR" is the defaut location). The tool will fetch all suggestions from Google Suggest and store them in a plan text file.

Maybe you will have to use proxies if the keyword you choose generate lots of suggestions, because Google is likely to ban your IP.

License

Google Suggest Scraper is open-sourced software licensed under the MIT license.

About

A command line Ruby script to scrape Google Suggests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages