A script to notify you when there's a bargain you're interested in on OzBargain
git clone [email protected]:Shwuup/bargain-notifier.git
Make sure you have created the prequisite secrets file for email and/or text notifications.
Run the script by entering into terminal:
cd bargain-notifier
pipenv run python3 main.py -n {email OR text} -i {keywords separated by space}
Example using crontab for scheduling:
30 * * * * cd /path/to/bargain-notifier && pipenv run python3 main.py -n email -i switch lego
Create app password for your email provider (Gmail, Outlook)
Make a file called email_secrets.txt in folder bargain-notifier with format:
email address
app password
Create a twilio account here
Make a file called text_secrets.txt in folder bargain-notifier with format:
account sid
auth token
twilio phone number
your phone number