safeway-coupons is a script that will log in to an account on safeway.com, and attempt to select all of the "Just for U" electronic coupons on the site so they don't have to each be clicked manually.
For best results, run this program once a day or so with a cron daemon.
Prerequisites: Python 3 and sendmail (optional).
Create a configuration file with an email sender address and your Safeway account login information. For example:
email_sender = [email protected]
[[email protected]]
password = 12345
notify = [email protected]
email_sender
is optional. If included, a summary email will be sent for each
specified Safeway account, either to the account email address or to the
address specified by notify
, if present.
Specify the path to this config file using -c
or --accounts-config
.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
See LICENSE
for the full license text.