amazon_in_stock 介绍 一个简单的监控amazon.cn是否到货和是否低于预期价格的Python脚本,如果符合条件就给目标发送微信。 只支持海外购商品,测试了几个商品,其他商品不保证正确性。不过理论上遇到问题,稍微改改好了。我目前这个就是根据Amazon com商品解析魔改的,只是对比了有货跟没货两个商品的html diff,其实我对html一无所知。 依赖 安装requests、itchat库。 pip install requests pip install itchat 引用 How To Scrape Amazon Product Details and Pricing using Python python使用itchat发送微信消息提醒 itchat文档