overhash / supermarket-tracker Goto Github PK
View Code? Open in Web Editor NEWA supermarket aggregator for price information at New Zealand supermarkets
License: MIT License
A supermarket aggregator for price information at New Zealand supermarkets
License: MIT License
countdown api does not have ratelimits
also u should multithread it fr fr
Currently there is about a ~2000 non-unique products when retrieving all_products
.
This is because categories may contain overlapping products. During get_all_products
we should ensure to remove these duplicate products.
For a sample, sku 243682
with the following product information:
{
"name": "angel bay veggie burger patties ",
"barcode": "9419411000003",
"sku": "243682",
"per_unit_price": 1300
}
has duplicates under page 6 of /shop/browse/frozen
(Frozen
category) and also under page 14 of /shop/browse/christmas
(Christmas
category).
While this behavior doesn't have catastrophic consequences, it inflates the product count and means extra work later in the program.
Some basic suggestions like when an invalid parse option is found for a user passing the --supermarket
option (e.g., --supermarket countdown
when the user meant to type --supermarket Countdown
) could be provided.
As described in #2 (comment), we need to investigate a cleaner way of handing out tasks.
Consider using https://docs.rs/tokio/latest/tokio/sync/struct.Semaphore.html for this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.