Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

TechShreyash/AutoAnimeBot

Repository files navigation

AutoAnimeBot

Automates The Process Of Managing Your Anime Channels

GitHub Forks GitHub Repo Stars


♻️ Features

  • Fully Automatic ( From downloading, to uploading, to posting links and info on index channel )
  • Live Status and Schedule of animes
  • Live Downloading and Uploading Status
  • Automatic cool thumbnail generator with episode preview at background
  • Light Weight and Powerfull at same time
  • Powered By TechZApi and GogoAnime
🔰 CLick For More Features
  • Vote buttons on each anime in index channel

  • In case any errors comes ( while downloading/uploading ) bot saves which episode and which quality quality it failed, and will try reupload that if scrapped its links again

  • On failing bot retries each file max 3 times

  • As gogo animes downloading speed is shit, there a download timeout of 1 hour ( downloading will cancel automatically after this )

  • You can add a custom sleep time for which the bot will sleep after uploading each file to avoid spam on your channel and to avoid floodwaits

  • Better logs saving, you can easily view where the error came and in which file, get log file on telegram by /logs command

  • Bot make sures that it has uploaded episode in all four qualities ( 360p, 480p, 720p, 1080p ), if available !!

  • If this episode link message exceeds the tg limit of 4096 characters, a new message will be created replying to info message of anime and new episode links will be added there

  • You can click the hashtag below each file on uploads channel to get all files of that anime


📚 Setup Guide

  • You have to create a public uploads channel and index channel
  • A group for comments (This must be linked to your index channel, Can be private or public)
  • And below required variables
  • Two messages on your uploads channel, one for status and one for schedule

🧲 Required Variables

  • API_ID - Get this value from my.telegram.org
  • API_HASH - Get this value from my.telegram.org
  • BOT_TOKEN - Get this from @BotFather
  • MONGO_DB_URI - Get this from cloud.mongodb.com
  • STATUS_MSG_ID - ID of the message in your Uploads Channel where the status of bot will be showed
  • SCHEDULE_MSG_ID - ID of the message in your Uploads Channel where the Live Schedule From Subsplease will be showed
  • CHANNEL_TITLE - Name of your channel (This will appear in thumbnail of videos)
  • INDEX_CHANNEL_USERNAME - Username of your Index Channel
  • UPLOADS_CHANNEL_USERNAME - Username of your Uploads Channel
  • TECHZ_API_KEY - Your TechZApi Key, Get from here
  • COMMENTS_GROUP_LINK - Link of your comments group (This must be linked to your index channel)

📝 Deploy

  • Deploy on Heroku

    Deploy

  • Deploy on VPS

    $ git clone https://github.com/TechShreyash/AutoAnimeBot && cd AutoAnimeBot
    
    $ tmux
    
    $ pip3 install -r requirements.txt
    
    $ python3 -m AutoAnimeBot
    

🚀 Bot Demo :


👤 Contact Me For Any Help

Telegram Channel Telegram Group


⭐ Credits

⛑ Important

❗️ You are free to use and make your own clone, but you cant sell this repo to others