SPB Git forge

spb/food-ka

Public

Food-Ka — agrégateur de produits d'épicerie du Québec — www.food-ka.com

55commits 1branches 0releases
10.2 MBsize
maindefault branch
10 days agolast push
Python 53.9% TypeScript 24% CSS 14.9% JavaScript 5.8% HTML 1.4%
966 B · 19 lines python
Raw Blame History
1# -----------------------------------------------------------------------------2# Food-Ka — connecteur circulaire Uniprix (pharmacies, groupe McKesson)3# Auteur : Simon-Pierre Boucher — contact@spboucher.ai4# Circulaire hebdomadaire sur Flipp -> API backflipp (voir _flipp.py).5# Pharmacie : keep_categories = GROCERY_CATEGORIES ne retient que les rayons6# alimentaires du cahier. Merchant 3467, filtre « hebdomadaire » (écarte le7# « Catalogue » saisonnier ; le cahier « Uniprix Sante » est un merchant8# distinct, 6788, non alimentaire).9# -----------------------------------------------------------------------------10from ._flipp import GROCERY_CATEGORIES, FlippConnector111213class UniprixConnector(FlippConnector):14    source_id = "uniprix"15    merchant_id = 3467                  # Uniprix16    flyer_name_filter = "hebdomadaire"  # écarte « Catalogue »17    flyer_page = "https://www.uniprix.com/circulaires"18    keep_categories = GROCERY_CATEGORIES19