- Clone this repository
- Install the required dependencies:
pip install pyrogram python-dotenv requests- Create a
config.envfile 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/start- Start the bot (only works for authorized users)/release [query]- Search for releases- Use
-gpflag to filter for Golden Popcorn releases - Example:
/release Inception -gp
- Use
/check- Check PTP information
python main.pybot.py- Main bot implementation with Telegram handlersjackett.py- Jackett API integration functionsptp_checker.py- PTP checking functionalitytelegraph_helper.py- Telegraph integration for result displaymain.py- Entry point of the applicationconfig.env- Configuration file