Files
Auto_Bangumi/docs/feature/search.md
Estrella Pan 6b6ba75d80 docs: update documentation for 3.2 beta features
- Update changelog/3.2.md with beta.5-10 features:
  - Season/episode offset auto-detection
  - Bangumi archive functionality
  - Search provider configuration API
  - RSS connection status tracking
  - iOS-style notification badges
  - Performance improvements (backend & frontend)

- Update feature documentation:
  - search.md: Add search provider settings panel docs
  - bangumi.md: Add archive, offset detection, badges docs
  - rss.md: Add connection status documentation
  - rename.md: Add episode offset section
  - calendar.md: New documentation for calendar view

- Add screenshots for new features:
  - Login page (glassmorphism design)
  - Bangumi list and edit modals
  - Rule selection popup
  - RSS manager with connection status
  - Calendar view
  - Search panel and provider settings

- Update VitePress config to include Calendar in sidebar

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-01-25 23:00:48 +01:00

70 lines
2.1 KiB
Markdown

# Torrent Search
Since v3.1, AB includes a search feature for quickly finding anime.
## Using the Search Feature
::: warning
The search feature relies on the main program's parser. The current version does not support parsing collections. A `warning` when parsing collections is normal behavior.
:::
The search bar is located in the AB top bar. Click to open the search panel.
![Search Panel](../image/feature/search-panel.png)
Select the source site, enter keywords, and AB will automatically parse and display search results. To add an anime, click the add button on the right side of the card.
::: tip
When the source is **Mikan**, AB uses the `mikan` parser by default. For other sources, the TMDB parser is used.
:::
## Managing Search Sources
Since v3.2, you can manage search sources directly in the Settings page without editing JSON files.
### Search Provider Settings Panel
Navigate to **Config****Search Provider** to access the settings panel.
![Search Provider Settings](../image/feature/search-provider.png)
From here you can:
- **View** all configured search sources
- **Add** new search sources with the "Add Provider" button
- **Edit** existing source URLs
- **Delete** custom sources (default sources mikan, nyaa, dmhy cannot be deleted)
### URL Template Format
When adding a custom source, the URL must contain `%s` as a placeholder for the search keyword.
Example:
```
https://example.com/rss/search?q=%s
```
The `%s` will be replaced with the user's search query.
### Default Sources
The following sources are built-in and cannot be deleted:
| Source | URL Template |
|--------|--------------|
| mikan | `https://mikanani.me/RSS/Search?searchstr=%s` |
| nyaa | `https://nyaa.si/?page=rss&q=%s&c=0_0&f=0` |
| dmhy | `http://dmhy.org/topics/rss/rss.xml?keyword=%s` |
### Adding Sources via Config File
You can also manually add sources by editing `config/search_provider.json`:
```json
{
"mikan": "https://mikanani.me/RSS/Search?searchstr=%s",
"nyaa": "https://nyaa.si/?page=rss&q=%s&c=0_0&f=0",
"dmhy": "http://dmhy.org/topics/rss/rss.xml?keyword=%s",
"bangumi.moe": "https://bangumi.moe/rss/search/%s"
}
```