/lowes-coupon-generator-1

A simple server to scrape and generate Lowe's printable coupons.

Primary LanguageHTMLMIT LicenseMIT

Lowe's Coupon Generator

Generate printable Lowe's coupons to save 10% or more.

Requirements

$ pip3 install flask requests bs4

Demo

See the coupon generator in action here.

Usage

  1. Clone this repository:

    $ git clone https://github.com/dale3h/lowes-coupon-generator
  2. Switch to the repository folder:

    $ cd lowes-coupon-generator
  3. Run server.py:

    $ python3 server.py
  4. Visit http://127.0.0.1:5000/ in your browser to view the page.

Scraping

The scraper is not perfect, and may not find updated coupons. As of August 22, 2018, it is working. To run the scraper, visit http://127.0.0.1:5000/scrape in your browser.

Manual Updating

To update the master codes manually, edit the static/js/coupons.js file. Master codes can usually be found on this Slickdeals page.