pcwinters / lowes-coupon-generator

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:MIT License


Languages

Language:HTML 49.3%Language:JavaScript 26.1%Language:Python 17.1%Language:CSS 7.4%