No commit activity in last 3 years
No release in over 3 years
Will search Woolworths and Coles online stores for prices based on an input search parameter **Google Chrome Required**
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.2.28
~> 13.0.6
~> 3.10.0

Runtime

>= 1.10.8
>= 0
~> 6.19.1
 Project Readme

Ever wondered 'I wonder if my shampoo is cheaper at Coles or Woolworths...?' ? But can't be bothered searching all three websites and comparing? Well that's what this gem does for you. Simply install and follow the prompts.

For those who previously downloaded this Gem, compare_supermarkets no longer compares IGA prices as the IGA HTML changes too frequently - Apologies for the inconvenience.

Installation

Add this line to your application's Gemfile:

gem 'compare_supermarkets'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install compare_supermarkets

Google chrome and ChromeDriver must be installed to use this GEM

To install ChromeDriver on MacOS

$ brew install --cask chromedriver

To install ChromeDriver on Windows please visit this guide and follow along https://chromedriver.chromium.org/getting-started

Usage

To use compare_supermarkets call $ compare_supermarkets and follow the prompts. The more specific you are the faster the search results appear and there will be less items to compare.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/happymelonbox/compare_supermarkets.

License

The gem is available as open source under the terms of the [MIT License](https://opensource.org /licenses/MIT).