Documentation Index
Fetch the complete documentation index at: https://mintlify.com/avikekk/JackettSearchBot/llms.txt
Use this file to discover all available pages before exploring further.
Overview
JackettSearchBot provides powerful search capabilities through Jackett’s unified API, allowing you to search across multiple torrent indexers simultaneously. This page covers search syntax, pagination, filtering, and result interpretation.Basic Search
To search for releases, use the/release command (or its alias /r) followed by your query:
Text Search
Search using any text string:- Movie Title
- With Year
- Short Alias
IMDb ID Search
For more precise results, use an IMDb ID. The bot automatically detects IDs starting with “tt” followed by digits:IMDb IDs provide more accurate results as they search using Jackett’s
imdbid parameter instead of text search.- Go to IMDb.com
- Search for the movie/show
- Look at the URL:
https://www.imdb.com/title/tt0133093/ - The ID is
tt0133093
Filtering Results
Golden Popcorn Filter
Filter results to show only Golden Popcorn releases using the-gp flag:
-gp flag can appear anywhere in the command after /release:
- Text + GP
- IMDb + GP
- Flag First
The Golden Popcorn filter is applied client-side after receiving results from Jackett. It searches for “Golden Popcorn” in the release title.
Understanding Results
Result Format
Each result displays three key pieces of information:Result Fields
Title
Title
Content: Full release name including quality, format, and tagsExamples:
Movie.Name.2023.1080p.BluRay.x264-GROUPMovie.Name.2023.2160p.UHD.BluRay.x265 [Golden Popcorn]Show.Name.S01E01.720p.WEB.H264-GROUP
jackett_bot/services/jackett.py:18-23Age
Age
Content: Time elapsed since the release was uploadedFormat:
- Less than 60 seconds:
X s - Less than 60 minutes:
X m - Less than 24 hours:
X h - 24+ hours:
X d
45 s- 45 seconds ago23 m- 23 minutes ago5 h- 5 hours ago12 d- 12 days ago
Size
Size
Content: File size in human-readable formatUnits: B, KB, MB, GB, TB, PB, EB, ZB, YBExamples:
1.5 GB750.25 MB15.2 GB
Result Header
Each result page includes a header with search metadata:Pagination
How Pagination Works
When your search returns more results than the configured page size, pagination buttons appear below the results:- Prev - Navigate to previous page
- Next - Navigate to next page
Pagination Sessions
Each search creates a unique pagination session:Session Properties
Session Expiration
Session Expiration
Lifetime: 1 hour (3600 seconds)What happens when expired:
- Clicking pagination buttons shows:
SESSION EXPIRED. RUN /RELEASE AGAIN. - Session data is automatically pruned from memory
User Isolation
User Isolation
Access control: Only the user who initiated the search can use the pagination buttons.Exception: The bot owner (configured via Why this matters:
OWNER_ID) can navigate any user’s results.- Prevents users from interfering with each other’s searches
- Maintains privacy in group chats
- Owner can assist with any search if needed
Chat Isolation
Chat Isolation
Restriction: Pagination buttons only work in the chat where the search was performed.
Navigating Pages
Button visibility:- First page: Only “Next” button appears
- Middle pages: Both “Prev” and “Next” buttons appear
- Last page: Only “Prev” button appears
- Single page: No buttons appear
Result Redaction
Auto-Redaction Feature
Default timeout: 300 seconds (5 minutes) Configuration:How Redaction Works
- Search initiated: User runs
/releasecommand - Results displayed: Bot sends results with pagination
- Timer starts: Redaction scheduled for configured timeout
- Timeout reached: Message is edited to show redaction notice
- Session cleared: Pagination session removed from memory
Redaction is scheduled when results are first displayed. Even if you’re actively paginating, the timer is based on the initial search time.
Search Behavior
Loading State
While searching, the bot displays a loading message:No Results
If no results are found: Standard search:Error Handling
- HTTP Error
- Network Error
- Unexpected Error
Trigger: Jackett API returns error status codeResponse:Common causes:
- Invalid API key
- Jackett service error
- Rate limiting
jackett_bot/handlers/commands.py:125-133
Advanced Usage
Multiple Simultaneous Searches
You can run multiple searches simultaneously:- Each creates a separate session with unique ID
- Sessions are independent and don’t interfere
- Each session has its own expiration timer
- Each session has its own redaction timer
Search Optimization
For best results:
- Use IMDb IDs when possible for exact matches
- Include year in text searches to narrow results
- Use specific terms rather than generic ones
- Apply
-gpfilter to reduce result volume