Scrapes the NM Dept of Game and Fish fishing report
The NM Dept of Game and Fish publishes a biweekly fishing report. This script scrapes the report into a database so I can see how various spots fare throughout the year. It send me a Pushover notification whenever the report for one of my favorite spots has any of the buzzwords I’ve selected.
I recommend you start with config-sample.ini. I’ve tried to add comments to make it somewhat self-explanatory. A few notes:
If you know a bit of Python, you can optionally provide a notification script if you want to get a push notification (or email or what have you) when certain keywords show up in the report for one of your fav_spots. The file should expose a bare function notify that accepts two arguemnts:
Because it accepts a path to your config file, you can add a section to your config file to include usernames and passwords for the notification script if needed. For example, in the extras/ directory I’ve included my (working) notify.py for Pushover – it pulls my Pushover credentials from my config file, which is kept out of version control.
Be forewarned that nmfishingreport loads the notification script to execing its contents, which I’m sure could have security ramifications or lead to data loss if you aren’t careful. Leave the NOTIFY section out of your config to avoid this entirely.
TODO: Figure out how to actually get changelog content.
Changelog content for this version goes here.