Skip to content

rsss58/Tamil-Blasters-Rss-Bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


MN-Bot

MN-Bot is an advanced Telegram bot designed to automatically post torrent files from 1TamilBlasters to a specified Telegram channel. The bot performs periodic checks to ensure the latest torrents are fetched and posted seamlessly.


Features

  • 🚀 Automatic Torrent Fetching: Scrapes torrent files from 1TamilBlasters and posts them to a Telegram channel.
  • 🛠️ Flask Health Check: Includes a lightweight Flask server to monitor the bot's health.
  • 🔄 Threaded Flask Server: Ensures the Flask server runs in a separate thread, preventing any interference with the bot’s core functionality.
  • ☁️ Cloud Deployment Ready: Compatible with platforms like Koyeb and Render.

Requirements

Python Libraries

Install the required libraries by running the following command:

pip install -r requirements.txt

Configuration

Ensure the following configurations are set in the config.py file:

  • BOT: The bot's token.
  • API: The Telegram API ID and API Hash.
  • OWNER: The Telegram user ID of the bot's owner.
  • CHANNEL: The Telegram channel ID where torrents will be posted.

How to Run

Local Environment

  1. Clone the repository:

    git clone https://github.com//MN-BOTS/Tamil-Blasters-Rss-Bot.git
    cd test
  2. Install dependencies:

    pip install -r requirements.txt
  3. Run the bot:

    python bot.py

Deployment

Koyeb

  1. Log in to Koyeb.
  2. Create a new service and link it to your GitHub repository.
  3. Add all required environment variables (e.g., BOT_TOKEN, API_ID, API_HASH, etc.) in the service configuration.
  4. Deploy the service.

Render

  1. Log in to Render.
  2. Create a new web service and connect it to your GitHub repository.
  3. Add the necessary environment variables like BOT_TOKEN, API_ID, API_HASH, etc.
  4. Set the Start Command to:
    python bot.py
  5. Deploy the service.

Notes

  • The bot requires valid Telegram API credentials to function.
  • Ensure the target Telegram channel allows the bot to post messages.
  • The bot performs periodic checks every 15 minutes to fetch and post new torrents.

License

This project is licensed under the MIT License. Feel free to use, modify, and distribute it as per the terms of the license.


About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Procfile 0.2%