Skip to main content

Automatically fetch anime updates from the Mikan Project's RSS feed and offline download them to the cloud drive through Alist.

Project description

Alist-MikananiRss

蜜柑计划或其他动漫番剧相关的RSS订阅源中自动获取番剧更新并通过Alist离线下载至对应网盘

并结合使用ChatGPT分析资源名,将资源重命名为Emby可解析的格式。


使用文档 | 开发指南

功能

  • 自动获取番剧更新并下载至对应网盘
  • 通过PushPlus, Telegram等渠道发送更新通知
  • 自动重命名为emby可识别格式,同时支持对自动解析的结果进行自定义重映射,让重命名结果更准确

准备工作

  1. 请自行参照Alist项目文档部署Alist(版本须>=3.42.0),并搭建好Aria2/qBittorrent离线下载
  2. 自行注册蜜柑计划账户,订阅番剧,获取订阅链接

附:对其余RSS订阅源也作了一定适配,理论上支持绝大多数订阅源(番剧相关),对于未能支持的RSS,也欢迎上交issue

如何使用

Docker,源码运行等更多的运行方法详见使用文档

使用pip安装运行

  1. 请确保你的python版本在3.11以上
  2. 使用pip安装: pip install alist-mikananirss
  3. 在目录下新建一个config.yaml配置文件,并填写配置文件如下(完整功能示例详解见配置说明)
    common:
      interval_time: 300
    
    alist:
      base_url: https://example.com # 修改为你的alist访问地址
      token: alist-xxx # 修改为你的alist token;可在"管理员后台->设置->其他"中找到
      downloader: qBittorrent # 或者 aria2
      download_path: Onedrive/Anime # 修改为你的下载路径(Alist中的路径)
    
    mikan:
      subscribe_url:
        - https://mikanani.me/RSS/MyBangumi?token=xxx # 修改为你的蜜柑订阅地址
        # - https://mikanani.me/RSS/MyBangumi?token=xxx2 # 多条RSS订阅链接情况
    
      filters:
        - 非合集 # 程序暂不支持合集等形式的重命名,若使用重命名功能推荐使用此过滤器
    
  4. 运行代码:python -m alist_mikananirss --config /path/to/config.yaml
  5. Enjoy

重命名效果展示

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

alist_mikananirss-0.5.3.tar.gz (189.1 kB view details)

Uploaded Source

Built Distribution

alist_mikananirss-0.5.3-py3-none-any.whl (52.1 kB view details)

Uploaded Python 3

File details

Details for the file alist_mikananirss-0.5.3.tar.gz.

File metadata

  • Download URL: alist_mikananirss-0.5.3.tar.gz
  • Upload date:
  • Size: 189.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.13

File hashes

Hashes for alist_mikananirss-0.5.3.tar.gz
Algorithm Hash digest
SHA256 afa2cea492905404411c99f01e41461471a017a1db4be0689817f574292d08c7
MD5 54fc2d03c868e4707ab93ab78f7266ba
BLAKE2b-256 66441c5470633ee6b8c10d0b667d83523457f539730f914dec528c634cc0d1b4

See more details on using hashes here.

File details

Details for the file alist_mikananirss-0.5.3-py3-none-any.whl.

File metadata

File hashes

Hashes for alist_mikananirss-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5e27f6ff501a8d1f23758b03ffaece2cbe7ffa21398b422217036c33a3381251
MD5 5c349fcad54b4bab0d0b67f1962d1b5f
BLAKE2b-256 23e8fafa622b3d229dc5b1e59dae4b95de28e16862a569296f822469005fe989

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page