Tags: resort-io/nyaa-watcher
Tags
v1.1.2 (#17) * Added `error` property in *history.json* to store failed download information. * Added `version` property in *config.json*. * Renamed `history` property to `downloads` in *watchlist.json* . * Renamed `watcher_interval_seconds` to `interval_sec` in *config.json*. * Renamed `/watch` container directory to `/downloads`. * Updated `downloaded_date` result to be more accurate for *history.json*. * Updated JSON file verification and changed it to only execute at startup (instead of executing before every write). * Updated RSS fetch function to only read the latest entries since the previous fetch. * Updated logging to show successful and failed downloads.
v1.1.1 (#14) * Refactor; moved file verification methods from webhook.py and watcher.py into the get() methods in config.py * Refactored for recent changes and implemented migrate_v101_to_v110() function. * Added environment variable option to remove RSS entries from debug log. * Fixed migrate_v101_to_v110() function. * Inserted placeholder data into webhooks.json. * Added example data generation for webhooks.json and added checks for the data. * Moved migration function call to inside config constructor and added check for 'webhooks' property in parse verification. * Combined error log message. * Created and implemented get_interval_string() method. * Changed minimum watcher interval to 30 seconds. * Moved default RSS URL check into startup process. * Added try/catch with KeyboardInterrupt to scheduler. * Changed minimum interval to 60 seconds. * Updated README.md. * Sample webhook is generated when the `webhooks` array property is empty in `webhooks.json`. * Updated README.md with v1.1.1 notes. --------- Signed-off-by: resort-io <[email protected]>
v1.1.0 (#12) * Updated README.md with additional instructions. (#7) * Deleted .env.sample. Not currently accepting pull requests. * Added watch/ directory to gitignore. * Removed .env.sample from dockerignore. * Updated README.md. * Changed input types in issue.bug.yml. * Discord Webhook Implementation (#11) * Removed aiohttp requirement. * Deleted .env.sample. File was unnecessary since repo is not accepting pull requests at this time. * Created webhook.py. * Created webhooks_are_valid() function in webhook.py. * Added checks for empty 'name' and 'url' values in webhooks.json. Added checks for 'show_' property ranges. * Added 'webhooks' property to webhooks.json * Added 'webhooks' property to webhooks.json * Updated .gitignore and .dockerignore. * Added 'discord.py' to requirements.txt. * Created is_integer(), _verify_webhooks_parse(), and get_discord_webhooks() methods/functions. * Closed files after reading contents. Added '_parse' to names of file verification methods. * Changed fetch_new_torrents() function to read discord webhook 'name' values then add them to the torrent dict. * Created Webhook object to main.py. * Notifications are sent when a torrent file successfully downloads. * Changed interval from seconds to minutes. * Changed startup log output. * Added more descriptive text to errors. * Added verification to webhooks. * * Added 'webhooks' array property to watchlist.json generation. * * Changed log messages. * * Refactored config.py and added additional log error messages. * * Fixed bug where webhooks were None when watchlist has empty array. * Created _insert_tags() method to insert torrent information into strings. * Implemented _insert_tags() methods into send_notification() function. * Added version number to startup log messages. * Updated README.md to v1.1.0. * Updated README.md spelling and grammar. * Updated README.md and issue templates. * Updated README.md. * Updated README.md. * Added webhook.py and webhooks.json to Dockerfile. --------- Signed-off-by: resort-io <[email protected]>
v1.0.0: Initial release. (#3) * Imported project. * Changed JSON indentations from 4 to 2. * Removed check while verifying watchlist. Changed 'regex' field to array. * Refactored watcher.py and created watchlist validation method. * Added additional error checks and log messages in main.py. * Updated README.md. * Updated .gitignore and created .dockerignore. * Updated README.md.