介绍
# Prowlarr Skill
在您的所有索引器中进行搜索,并通过 API 管理 Prowlarr。
## 设置
配置文件:`~/.clawdbot/credentials/prowlarr/config.json`
```json { "url": "https://prowlarr.example.com", "apiKey": "your-api-key" } ```
在此处获取您的 API 密钥:Prowlarr → Settings → General → Security → API Key
---
## 快速参考
### 搜索资源
```bash # Basic search across all indexers ./scripts/prowlarr-api.sh search "ubuntu 22.04"
# Search torrents only ./scripts/prowlarr-api.sh search "ubuntu" --torrents
# Search usenet only ./scripts/prowlarr-api.sh search "ubuntu" --usenet
# Search specific categories (2000=Movies, 5000=TV, 3000=Audio, 7000=Books) ./scripts/prowlarr-api.sh search "inception" --category 2000
# TV search with TVDB ID ./scripts/prowlarr-api.sh tv-search --tvdb 71663 --season 1 --episode 1
# Movie search with IMDB ID ./scripts/prowlarr-api.sh movie-search --imdb tt0111161 ```
### 列出索引器
```bash # All indexers ./scripts/prowlarr-api.sh indexers
# With status details ./scripts/prowlarr-api.sh indexers --verbose ```
### 索引器健康与统计
```bash # Usage stats per indexer ./scripts/prowlarr-api.sh stats
# Test all indexers ./scripts/prowlarr-api.sh test-all
# Test specific indexer ./scripts/prowlarr-api.sh test <indexer-id> ```
### 索引器管理
```bash # Enable/disable an indexer ./scripts/prowlarr-api.sh enable <indexer-id> ./scripts/prowlarr-api.sh disable <indexer-id>
# Delete an indexer ./scripts/prowlarr-api.sh delete <indexer-id> ```
### 应用同步
```bash # Sync indexers to Sonarr/Radarr/etc ./scripts/prowlarr-api.sh sync
# List connected apps ./scripts/prowlarr-api.sh apps ```
### 系统
```bash # System status ./scripts/prowlarr-api.sh status
# Health check ./scripts/prowlarr-api.sh health ```
---
## 搜索分类
| ID | Category | |----|----------| | 2000 | 电影 | | 5000 | 电视剧 | | 3000 | 音频 | | 7000 | 书籍 | | 1000 | 游戏/主机 | | 4000 | PC | | 6000 | 成人内容 |
子分类:2010 (Movies/Foreign)、2020 (Movies/Other)、2030 (Movies/SD)、2040 (Movies/HD)、2045 (Movies/UHD)、2050 (Movies/BluRay)、2060 (Movies/3D)、5010 (TV/WEB-DL)、5020 (TV/Foreign)、5030 (TV/SD)、5040 (TV/HD)、5045 (TV/UHD) 等。
---
## 常见用例
**“搜索最新的 Ubuntu ISO”** ```bash ./scripts/prowlarr-api.sh search "ubuntu 24.04" ```
**“查找《权力的游戏》第一季第一集”** ```bash ./scripts/prowlarr-api.sh tv-search --tvdb 121361 --season 1 --episode 1 ```
**“搜索 4K 版本的《盗梦空间》”** ```bash ./scripts/prowlarr-api.sh search "inception 2160p" --category 2045 ```
**“检查我的索引器是否健康”** ```bash ./scripts/prowlarr-api.sh stats ./scripts/prowlarr-api.sh test-all ```
**“将索引器更改推送到 Sonarr/Radarr”** ```bash ./scripts/prowlarr-api.sh sync ```