Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 530 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 530 Bytes

TidalTime

A simple script to:

  1. scrape tidal prediction from BBC.co.uk
  2. save to local db (sqlite)

A provided locations.jsonl.gz contains a table with available UK ports

Change config.cfg.template to config.cfg. To use slack notification please replace your slack webhook url in config.cfg

Simply run pip install, and

python collect_tides_info.py --help

Use in conjunction with cronjob to monitor daily. e.g.:

0 4 * * * python /path/to/TidalTime/collect_tides_info.py -c config.cfg