This is an RSS scanner (for now it is exclusively for Mikan project) to check the feed regularly and retrive the targeted file url to aria2-like downloader through RPC (xml in this case).
Self-trigger can be implemented by Calendar.app.
This script can scan the rss feed list from config.json at a given interval. When the rss feed gets updated it can find an item matched with the keyword and push it to downloader (aria2-like) through RPC. Be sure to edit config.json.. You can look into config.json and be able to understand it easily.
"interval": interval between each scan in seconds
"port": RPC port (16800 for motrix, 6800 for aria2 default)
"list":[
{
"title": the name you want for the bangumi,
"rss": the rss url for the bangumi,
"key": the keyword to match for the file (in most cases it should be the keyword for the language you want)
}
]
This is the an example retreived from a mikan-project rss feed. Support for more sites may come in the future.
to-do:
- return to requests method (RSS method has a low-frequency-update issue)
- new module: browse
-
Usage in README -
fix bug repetitive download -
JSON file input -
multiple match -
notification (MacOS) - notification (Windows)
aria2 RPC interface
Motrix RPC port
This project is under MIT License.