亚马逊愿望观察者
watchlist的Python项目详细描述
使用wishlist监视 亚马逊的愿望,并发送电子邮件时,价格变化。
安装
安装:
$ pip install watchlist
或者是在流血:
$ pip install "git+https://github.com/Jaymon/watchlist#egg=wishlist"
您需要设置一个Sendgrid帐户(如果 你还没有,有一个免费的层)。
您需要一些环境变量:
export SENDGRID_KEY=YOUR_SENDGRID_API_KEY export BROWSER_CACHE_DIR=/var/watchlist export PROM_DSN_1="prom.interface.sqlite.SQLite://${BROWSER_CACHE_DIR}/watchlist.db#watchlist"
确保您的^ {TT1}$实际存在。
安装wishlist’s dependencies also。
如果你有私人愿望,那么你需要登录亚马逊 在运行监视列表之前,可以按照wishlist directions 签字。
然后您可以运行这个:
$ watchlist NAME
其中NAME是愿望列表名,基本上是url中的字符串 https://www.amazon.com/gp/registry/wishlist/NAME。你可以设置这个 命令cron作业定期运行并发送给您 更新。