Skip to content

Selfie-bd/UrlUploadDcBot0

Repository files navigation

A simple url uploader bot with permenent thumbnail support .

Report a Bug | Request Feature


Scrapped some code from @SpEcHIDe's AnyDLBot Repository
Made with Python3

My Features:

👉 All Supported Video Formats of

👉 Upload as file from any HTTP link

Deploy

♢ How to make your own :

Either you could locally host or deploy on [Heroku] By Clicking Deploy on Heroku Given below

♢ Click on This Drop-down and get more details


Deploy on Heroku :
  1. Fork This Repo
  2. Click on Deploy Easily

So Follow Above Steps 👆 and then also deply other wise not work

Press the below button to Fast deploy on Heroku

Deploy

then goto the variables tab for more info on setting up environmental variables.

Host it on VPS Locally :
git clone https://github.com/selfie-bd/UrlUploadDcBot
cd UrlUploadDcBot

virtualenv -p python3 VENV . ./VENV/bin/activate

pip install -r requirements.txt
cp sample_config.py config.py

--- EDIT config.py values appropriately ---

python bot.py

and to stop the whole bot, do CTRL+C

Setting up things

If you're on Heroku, just add these in the Environmental Variables or if you're Locally hosting, create a file named .env in the root directory and add all the variables there. An example of .env file:

API_ID=12345
API_HASH=esx576f8738x883f3sfzx83
BOT_TOKEN=55838383:yourtbottokenhere
LOG_CHANNEL=-100
AUTH_USERS=your_user_id
Vars and Details :

API_ID : Goto my.telegram.org to obtain this.

API_HASH : Goto my.telegram.org to obtain this.

BOT_TOKEN : Get the bot token from @BotFather

LOG_CHANNEL : Create a new channel (private/public), add @missrose_bot as admin to the channel and type /id. Now copy paste the ID into this field.

AUTH_USERS : Your Telegram User ID

Option Vars

UPDATES_CHANNEL : Put a Public Channel Username, so every user have to Join that channel to use the bot. Must add bot to channel as Admin to work properly.

TIME_LIMIT : For time to next process in second

DEF_WATER_MARK_FILE : Name you want (Ex:- @hdflimz)

DEF_THUMB_NAIL_VID_S : Link of the photo

SCREENSHOTS
          *If "True"  - Screenshot will be uploaded

          *If "False" - Screenshot will not be uploaded
How to Use :

⚠️ Before using the bot, don't forget to add the bot to the BIN_CHANNEL as an Admin

/start : To check if the bot is alive or not.

To get an instant stream link, just forward any media to the bot and boom, its fast af.

Channel Support

Bot also Supported with Channels. Just add bot Channel as Admin. If any new file comes in Channel it will edit it with Get Download Link Button.

Accounts

Credits

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages