SERP Scraper
SERP Scraper is a ruby library that extracts keyword rankings from Google.
Supported search engines
Installation
Install 'SERP Scraper' from RubyGems:
$ gem install serp_scraper
Or include it in your project's Gemfile with Bundler:
gem 'serp_scraper'
Examples
google = SerpScraper.new(engine: 'google', tld: 'com')
first_result = google.search('buy cars onlines').results[0]
puts first_result
If you are just starting, check out the EXAMPLES file for more examples.
Support
Contribute
Goals
- Add more search engines like Bing & Yahoo
Dependencies
Credits
Make a pull request and add your name here :)
License
This library is distributed under the MIT license.