aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-11-14 08:27:01 -0500
committerB. Stack <bgstack15@gmail.com>2022-11-14 08:27:01 -0500
commit28f433ffb9724912208da66c801cf668d7aa4c53 (patch)
tree77c4976fc041de8cb10a60db285c23b32accad5c
parentfix #1: fails when accept header is absent (diff)
downloadcoupons-master.tar.gz
coupons-master.tar.bz2
coupons-master.zip
add Lowes FoodsHEADmaster
-rw-r--r--.gitignore1
-rwxr-xr-xcoupons.py5
-rw-r--r--static/coupons.css28
-rw-r--r--static/images/lowes foods.pngbin0 -> 21916 bytes
4 files changed, 10 insertions, 24 deletions
diff --git a/.gitignore b/.gitignore
index b6b17d1..9dc34b8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
old
__pycache__
+.*.swp
diff --git a/coupons.py b/coupons.py
index 7ce2411..57c7861 100755
--- a/coupons.py
+++ b/coupons.py
@@ -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
new file mode 100644
index 0000000..d3f5c2f
--- /dev/null
+++ b/static/images/lowes foods.png
Binary files differ
bgstack15