{"id":16567830,"url":"https://github.com/thenetadmin/animaid","last_synced_at":"2025-03-21T11:33:19.717Z","repository":{"id":41164174,"uuid":"353527627","full_name":"TheNetAdmin/AniMaid","owner":"TheNetAdmin","description":"Subscribe animation series like a pro","archived":false,"fork":false,"pushed_at":"2023-11-04T06:44:05.000Z","size":109,"stargazers_count":21,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T01:06:15.453Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheNetAdmin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-04-01T00:35:06.000Z","updated_at":"2024-07-20T13:36:41.000Z","dependencies_parsed_at":"2024-02-25T03:33:49.454Z","dependency_job_id":"12947bd7-1875-43bf-a21f-ae88259552a6","html_url":"https://github.com/TheNetAdmin/AniMaid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheNetAdmin%2FAniMaid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheNetAdmin%2FAniMaid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheNetAdmin%2FAniMaid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheNetAdmin%2FAniMaid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheNetAdmin","download_url":"https://codeload.github.com/TheNetAdmin/AniMaid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244791938,"owners_count":20511032,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T21:07:36.582Z","updated_at":"2025-03-21T11:33:19.385Z","avatar_url":"https://github.com/TheNetAdmin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AniMaid - Animation Maid\n\n![](https://img.shields.io/github/languages/top/thenetadmin/animaid)\n![](https://img.shields.io/github/license/thenetadmin/animaid)\n\nAniMaid 是一个番剧自动下载与整理的工具。AniMaid 可以读取 [bangumi.moe](https://bangumi.moe) 提供的 [API](https://github.com/BangumiMoe) 来获取各个字幕组最新发布的番剧，然后通过用户预先定义的规则筛选番剧，自动加入 qBittorrent 下载，并在下载完成后进行重命名和归档整理，方便本地观看或者在 PLEX 等媒体服务器上观看。\n\n一些[使用截图](./docs/screenshots.md)\n\n## 使用\n\n1. 安装 qBittorrent 与 Python 3 环境，具体说明参见[安装文档](./docs/README.md)\n2. 一些设置工作\n   1. **配置**：在 `config/config.json` 内设置番剧的存放地址 `\"path\"` 字段\n      - 预设的配置文件里定义了两种番剧类型 `ongoing` 即当季正在播放的番剧，以及 `bundle` 即合集版番剧\n      - 两种番剧对应了不同的文件路径与番剧名筛选规则（比如 `ongoing` 会屏蔽文件名含有 `合集` 的番剧，这是因为字幕组往往会在季末发布一个合集版，屏蔽合集版可以避免重复下载）\n   2. **关注**：在 `data/source.json` 内设置要关注的字幕组的信息\n      - 预设的文件内已经包含了一些字幕组，AniMaid 也提供了一个命令来自动添加字幕组，参见[使用文档](./docs/README.md)\n   3. **追番**：在 `config/follow.json` 内设置番剧名过滤规则\n      - AniMaid 可以通过这些规则筛选各字幕组的番剧\n      - 预设的文件内已包含了一些规则，你也可以根据[使用文档](./docs/README.md)添加更多的规则\n      - 请浏览 [bangumi.moe](https://bangumi.moe) 的主页确定番剧名与相关的字幕组信息\n3. 配置得当之后，通过如下命令更新 AniMaid 的数据库\n   ```shell\n   # 仅从 bangumi.moe 更新数据库并发现新番剧，不新建下载任务\n   $ python3 animaid.py update\n   # 通过以上命令的输出确定自动发现的番剧没有问题后，通过如下命令更新数据库\n   # 并自动新建下载任务（仅新建任务信息，没有送入 qBittorrent 也没有开始下载）\n   $ python3 animaid.py update -a\n   ```\n4. 开始下载\n   ```shell\n   # 连接 qBittorrent 客户端，执行下载任务\n   $ python3 animaid.py download\n   ```\n5. 下载完成后，通过如下命令整理文件，重命名并移出下载目录 (`config/config.json: \"path.source\"`)，移入媒体目录`config/config.json: \"path.target\"`)\n   ```shell\n   # 整理归档\n   $ python3 animaid.py organize\n   ```\n   - 重命名的过程可以去掉文件名内的多余信息（例如清晰度 `[1080p]` 或者视频格式 `[MKV]` 等标签，方便查看也方便媒体服务器读取相关信息）\n   - 一个重命名样例输出\n    ```shell\n    origin: [KTXP][LOG_HORIZON_Entaku_Houkai][01][BIG5][X264_AAC][720p](48920FFC).mp4 \n        --\u003e Log Horizon S3 01.mp4\n    ```\n\n\n\n## 开源协议\n\n本项目代码基于 MIT 协议开源。\n\n本项目所使用的 bangumi.moe 站点的 [API](https://github.com/BangumiMoe) 版权归原作者所有。\n**请合理使用 API，不要过度请求，以免给 bangumi.moe 站点带来不必要的访问压力。**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthenetadmin%2Fanimaid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthenetadmin%2Fanimaid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthenetadmin%2Fanimaid/lists"}