Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

serp_scraper

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serp_scraper

  • 1.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

SERP Scraper

SERP Scraper is a ruby library that extracts keyword rankings from Google.

Supported search engines
  • Google

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
# => {:position=>1, :title=>"Buying From CarMax", :scheme=>"https", :domain=>"www.carmax.com", :url=>"/car-buying-process", :full_url=>"https://www.carmax.com/car-buying-process"}

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.

FAQs

Package last updated on 01 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc