rushic24 / TorrentSeedr

🌱 Telegram bot client for seedr.cc.

Home Page:https://t.me/TorrentSeedrBot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Telegram bot to manage seedr account

Bot Link: @TorrentSeedrBot

Discussion Group: @H9Discussion


⚒️ Deployment

  • Clone the repository, create a virtual environment, and install the requirements

    git clone https://github.com/sarfarazstark/torrhuntbot && virtualenv env && source env/bin/activate && cd torrhuntbot && pip install -r requirements.txt
  • Host the Torrents-API on your own server for better performance or leave it default. This API will be used for inline query only.

  • Edit the src/sample-config.json file and rename it to config.json

  • Update bottoken and userId, user https://t.me/userinfobot to get your userid.

    ⚙️ Click here to see a sample config file
    {
    "botToken": "<BOT Token>",
    
    "connectionType": "polling",
    
    "webhookOptions":{
        "webhookHost": null,
        
        "webhookPort": null,
        
        "webhookListen": "0.0.0.0",
        
        "sslCertificate": null,
        
        "sslPrivateKey": null
    },
    
    "adminId" : "<Admin UserId>", 
    
    "database": "torrenthunt.sqlite",
    
    "magnetDatabase": "magnets.sqlite",
    
    "cache": "cache",
    
    "cacheTime": 86400,
    
    "language": "language.json",
    
    "apiLink": "https://torrents-api.ryukme.repl.co/api" 
    }
  • Run the migration.py file to open a database.

    python migrations.py
  • Now, start the bot polling

    python torrenthunt.py

Made using seedrcc [https://github.com/hemantapkh/seedrcc]

Author/Maintainer: Hemanta Pokharel

About

🌱 Telegram bot client for seedr.cc.

https://t.me/TorrentSeedrBot

License:MIT License


Languages

Language:Python 100.0%