diff options
author | B. Stack <bgstack15@gmail.com> | 2022-11-14 08:27:01 -0500 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-11-14 08:27:01 -0500 |
commit | 28f433ffb9724912208da66c801cf668d7aa4c53 (patch) | |
tree | 77c4976fc041de8cb10a60db285c23b32accad5c | |
parent | fix #1: fails when accept header is absent (diff) | |
download | coupons-28f433ffb9724912208da66c801cf668d7aa4c53.tar.gz coupons-28f433ffb9724912208da66c801cf668d7aa4c53.tar.bz2 coupons-28f433ffb9724912208da66c801cf668d7aa4c53.zip |
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | coupons.py | 5 | ||||
-rw-r--r-- | static/coupons.css | 28 | ||||
-rw-r--r-- | static/images/lowes foods.png | bin | 0 -> 21916 bytes |
4 files changed, 10 insertions, 24 deletions
@@ -1,2 +1,3 @@ old __pycache__ +.*.swp @@ -53,9 +53,10 @@ store_urls = { "publix": "https://clipmunk.southernsavers.com/stores/4f823db2090c841ce0000013/widget.json?callback=jQuery111106644488051860198_1661993569105&_=1661993569106", "ingles": "https://clipmunk.southernsavers.com/stores/4f823db2090c841ce000000f/widget.json?callback=jQuery11110011370202243518035_1662043118344&_=1662043118345", "food lion": "https://clipmunk.southernsavers.com/stores/4f823db2090c841ce000000a/widget.json?callback=jQuery111104817919592912373_1662672814198&_=1662672814199", - "lidl": "https://clipmunk.southernsavers.com/stores/59405bea724edc4175003366/widget.json?callback=jQuery111104720958887493587_1662672848590&_=1662672848591" + "lidl": "https://clipmunk.southernsavers.com/stores/59405bea724edc4175003366/widget.json?callback=jQuery111104720958887493587_1662672848590&_=1662672848591", + "lowes foods": "https://clipmunk.southernsavers.com/stores/4f823db2090c841ce0000011/widget.json?callback=jQuery11110619146055949265_1668430717483&_=1668430717484" } -coupons_version = "2022-09-01a" +coupons_version = "2022-11-14a" def fetch(store, force = False, date = None, config = None): """ Given a store name, visit the url and clean the json. If force, then update cached response.""" diff --git a/static/coupons.css b/static/coupons.css index ea225ff..fd0ff0d 100644 --- a/static/coupons.css +++ b/static/coupons.css @@ -1,27 +1,11 @@ -/* -publix #64953F; -ingles #EA2754; -food lion #004FAC; -lidl #00508D; - */ - div .store { border-style: solid; border-width: 5px; } -div .publix { - border-color: #64953F; -} -div .ingles { - border-color: #EA2754; -} -div .food.lion { - border-color: #004FAC; -} -div .lidl { - border-color: #00508D; -} +div .publix { border-color: #64953F; } +div .ingles { border-color: #EA2754; } +div .food.lion { border-color: #004FAC; } +div .lidl { border-color: #00508D; } +div .lowes.foods { border-color: #2F5931; } -.storeimg { - max-height: 60px; -} +.storeimg { max-height: 60px; } diff --git a/static/images/lowes foods.png b/static/images/lowes foods.png Binary files differnew file mode 100644 index 0000000..d3f5c2f --- /dev/null +++ b/static/images/lowes foods.png |