/gae-radishboya-forecast

GAE/Python application for monitoring web page changes.

Primary LanguagePythonMIT LicenseMIT

gae-radishboya-forecast

About

This app monitors web page (らでいぃっしゅぼーや ぱれっとお届け予報ページ) for changes and send notification via email when delivery announcement updates.

Requirements

Install

Libraries

$ cd /your/project
$ pip install -t lib beautifulsoup4

mailaddress.yaml

  • Rename mailaddress.yaml.sample to mailaddress.yaml
  • Open mailaddrss.yaml and set ADDR_FROM and ADDR_RCPT.
    • ADDR_FROM: Sender email address
    • ADDR_RCPT: Recipient email addresses
  • You must register your sender emails as authorized senders. See who can send email.
  • You can insert multiple addresses in ADDR_RCPT, use a semi-colon (;) to separate each address.

settings.py

Set the query parameters.
https://www.radishbo-ya.co.jp/shop/app/information/palette_forecast/

Deploy

$ gcloud app deploy
$ gcloud app deploy cron.yaml