Skip to content

avikekk/JackettSearchBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

  1. Clone this repository
  2. Install the required dependencies:
pip install pyrogram python-dotenv requests
  1. Create a config.env file with the following variables:
TELEGRAM_TOKEN=your_telegram_bot_token
API_ID=your_telegram_api_id
API_HASH=your_telegram_api_hash
JACKETT_API_KEY=your_jackett_api_key
JACKETT_URL=your_jackett_url
MAX_RESULTS=10
AUTHORIZED_CHAT_IDS=id1,id2,id3
OWNER_ID=your_telegram_id

Usage

Bot Commands

  • /start - Start the bot (only works for authorized users)
  • /release [query] - Search for releases
    • Use -gp flag to filter for Golden Popcorn releases
    • Example: /release Inception -gp
  • /check - Check PTP information

Running the Bot

python main.py

Project Structure

  • bot.py - Main bot implementation with Telegram handlers
  • jackett.py - Jackett API integration functions
  • ptp_checker.py - PTP checking functionality
  • telegraph_helper.py - Telegraph integration for result display
  • main.py - Entry point of the application
  • config.env - Configuration file

About

simple telegram bot which uses jackett to search on a mildly popular movie site

Topics

Resources

Stars

Watchers

Forks

Languages