ncldlbn / offerte_supermercato Goto Github PK
View Code? Open in Web Editor NEWSend to telegram bot interesting supermarket discounts
Send to telegram bot interesting supermarket discounts
Aggiungere script python per web scraping pagina coop
Aggiungere script python per web scraping della pagina 'ribassati', oltre a quella 'promozioni'
Non inviare nuove offerte se queste a meno che queste non iniziano il giorno stesso o sono già iniziate.
Controllare se lo script funziona nel caso in cui venga lanciato una volta al giorno, senza riproporre le stesse offerte già mostrate.
Il prezzo al kg deve essere salvato in due campi distinti anziché una singola stringa:
unit_price
.unit
(spesso €/kg o €/l).Modificare funzioni scraping, invia a telegram, salvataggio nel db e tabella db
Creare lista csv con keyword, marca e prezzo unitario massimo e implementare filtri sui prodotti da tracciare
Aggiungere script python per web scraping, simile a quanto fatto per eurospin
Questo richiede di ristrutturare il bot telegram. Serve un bot che può ricevere dei comandi in entrata, in modo da creare un comando telegram che chiama GPT quando vuole l'utente.
File "/home/nicola/Projects/offerte_supermercato/src/WebScraping.py", line 134, in poli
element['Quantità'] = item.find("span", class_="band-volantino-prodotto-quantita").text
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'text'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/nicola/Projects/offerte_supermercato/src/main.py", line 42, in
message("Errore nello scraping del sito Poli")
TypeError: message() missing 1 required positional argument: 'msg'
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.