This gem scrapes the Adwords ads from a Google search engine results page, maps it by position and then parses the title, description, display url, redirect, sitelinks (if any), boxed warning (for pharma ads and if applicable) as well as reviews text (if any).
Add this line to your application's Gemfile:
gem 'adwords_scraper'
And then execute:
$ bundle
Or install it yourself as:
$ gem install adwords_scraper
Once installed, simply run the following (replace "green ipod" with your own keyword text:
AdwordsScraper.start("green ipod")
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request