The goal of this project is to get an email when a new price error appear on Dealabs (https://www.dealabs.com/). You must have Dealabs permission to use this software.
- Python >= 3.7
- Pip3
- Docker CE
- Tested with a gmail account
- You must provide your email and a password application (https://myaccount.google.com/apppasswords)
Install the requirements pip install -r requirements.txt
Fill config.json with some informations :
{
"topic": "https://www.dealabs.com/discussions/le-topic-des-erreurs-de-prix-1056379",
"page": 300,
"delay": 60,
"email": {
"email-sender": {
"smtp_domain": "smtp.gmail.com",
"smtp_port": 587,
"smtp_email": "myemail1@gmail.com",
"smtp_password": "myawesomepassword"
},
"email-receivers": [
"myemail1@gmail.com",
"myemail2@hotmail.com"
]
}
}
Start the script python main.py
Docker version support only one email receiver (start many containers to fix the problem)
Fill environment variables
docker run -d --restart=always -e "DEALABS_TOPIC=" -e "DEALABS_PAGE=" -e "DEALABS_DELAY=" -e "DEALABS_SMTP_DOMAIN=" -e "DEALABS_SMTP_PORT=" -e "DEALABS_SMTP_EMAIL=" -e "DEALABS_SMTP_PASSWORD=" -e "DEALABS_EMAIL_RECEIVER=" monsterrr/dealabs-price-error:latest
The code is under CeCILL license.
You can find all details here: https://cecill.info/licences/Licence_CeCILL_V2.1-en.html
Copyright © Ludovic Ortega, 2019
Contributor(s):
-Ortega Ludovic - ludovic.ortega@adminafk.fr