A Simple Telegram Bot By @AsmSafone to Download Files From Mega.nz and Upload It to Telegram

Overview

MegaDL-Bot

GitHub Repo stars GitHub forks GitHub issues GitHub closed issues GitHub pull requests GitHub closed pull requests GitHub contributors GitHub repo size GitHub commit activity GitHub Bot Support

A Simple Telegram Bot By @AsmSafone to Download Files From Mega.nz and Upload It to Telegram

Features

  • No Login Required
  • All Mega.nz File Links Supported
  • Show Live Status On Bot Logs Channel
  • Can Force Users To Subscribe To Updates Channel
  • Auto Detect File Type Before Upload to Telegram
  • Can Add Caption To Any Telegram Media Files
  • And More Features Coming Soon ...

Demo

Deploy

Deploy Your Own Bot ♥️ Star 🌟 Fork 🍴 & Deploy

Heroku

Deploy

Self Host

  • Clone the Repo
git clone https://github.com/AsmSafone/MegaDL-Bot
  • Enter the directory
cd MegaDL-Bot
  • Install Requirements
pip3 install -r requirements.txt
  • Run the Bot
python3 main.py

License

MegaDL-Bot, An Telegram Bot Project
Copyright (c) 2021  Asm Safone <https://github.com/AsmSafone>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>

Support

Credits

  • Dan [For Pyrogram]
  • Asm Safone [For This Project]
  • O'Dwyer Software [For Mega.py]
  • Itz Fork [For Detect File Type Func]
You might also like...
A Telegram Bot to Play Audio in Voice Chats With Youtube and Deezer support. Supports Live streaming from youtube Supports Mega Radio Fm Streamings

Bot To Stream Musics on PyTGcalls with Channel Support. A Telegram Bot to Play Audio in Voice Chats With Supports Live streaming from youtube and Mega

Prime Mega is a modular bot running on python3 with autobots theme and have a lot features.
Prime Mega is a modular bot running on python3 with autobots theme and have a lot features.

PRIME MEGA Prime Mega is a modular bot running on python3 with autobots theme and have a lot features. Easiest Way To Deploy On Heroku This Bot is Cre

This is Pdisk Upload Bot made using Python with Pyrogram Framework. Its capable of uploading direct download link with thumbnail or without thumbnail & with Title Support.

Pdisk-Upload-Bot Introduction This Is PDisk Upload Bot Used To Upload Direct Link To Pdisk With Thumb Support Deploy Heroku Deploy Local Deploy pip in

This is a simple bot that can be used to upload images to a third-party cloud (image hosting). Currently, only the imgbb.com website supports the bot. I Will do future updates

TGImageHosting This is a simple bot that can be used to upload images to a third party cloud (image hosting). Currently, only the imgbb.com website su

Telegram PHub Bot using ARQ Api and Pyrogram. This Bot can Download and Send PHub HQ videos in Telegram using ARQ API.

Tg_PHub_Bot Telegram PHub Bot using ARQ Api and Pyrogram. This Bot can Download and Send PHub HQ videos in Telegram using ARQ API. OS Support All linu

A Bot to Upload files to Many Cloud services. Powered by Telethon.
A Bot to Upload files to Many Cloud services. Powered by Telethon.

oVo MultiUpload V1.0 👀 A Bot to Upload files to Many Cloud services. Powered by Telethon _ 🎯 Follow me and star this repo for more telegram bots. @H

Wrapper around the Mega API

python-mega Overview Wrapper around the Mega API. Based on the work of Julien Marchand. Installation Install using pip, including any optional package

Modified Version of mega.py package for Pyrogram Bots

Pyro Mega.py Python library for the Mega.co.nz API, currently supporting: login uploading downloading deleting searching sharing renaming moving files

Comments
  • Project dependencies may have API risk issues

    Project dependencies may have API risk issues

    Hi, In MegaDL-Bot, inappropriate dependency versioning constraints can cause risks.

    Below are the dependencies and version constraints that the project is using

    moviepy
    filetype
    pyrogram==1.4.16
    tgcrypto
    ffmpeg-python
    hurry.filesize
    git+https://github.com/asmsafone/mega.py.git
    

    The version constraint == will introduce the risk of dependency conflicts because the scope of dependencies is too strict. The version constraint No Upper Bound and * will introduce the risk of the missing API Error because the latest version of the dependencies may remove some APIs.

    After further analysis, in this project, The version constraint of dependency moviepy can be changed to >=0.2.1.6.4,<=2.0.0.dev2. The version constraint of dependency pyrogram can be changed to >=1.0.0,<=2.0.57.

    The above modification suggestions can reduce the dependency conflicts as much as possible, and introduce the latest version as much as possible without calling Error in the projects.

    The invocation of the current project includes all the following methods.

    The calling methods from the moviepy
    moviepy.editor.VideoFileClip
    
    The calling methods from the pyrogram
    pyrogram.filters.regex
    pyrogram.filters.command
    pyrogram.idle
    pyrogram.Client
    
    The calling methods from the all methods
    os.path.isdir
    posixpath.join
    message.reply_text.delete
    os.listdir
    format
    os.makedirs
    hurry.filesize.size
    file.copy
    pyrogram.types.InlineKeyboardMarkup
    bot.create_chat_invite_link
    message.reply_text.edit
    functools.partial
    message.message.delete
    str
    message.reply_photo
    round
    moviepy.editor.VideoFileClip
    pyrogram.Client
    os.system
    asyncio.get_running_loop
    mega.login.download_url
    dict
    divmod
    message.reply_text
    about
    message.reply_audio
    os.environ.get
    message.reply_document
    help
    message.forward.reply_text
    time.time
    message.answer
    bot.get_me
    message.reply_animation
    message.message.reply_to_message.delete
    filetype.guess
    bot.get_me.mention
    pyrogram.Client.on_message
    mega.Mega
    bot.get_users.mention
    asyncio.get_running_loop.run_in_executor
    pyrogram.idle
    join
    message.reply_document.reply_text
    pyrogram.filters.command
    pyrogram.types.InlineKeyboardButton
    asyncio.sleep
    message.message.edit
    message.reply_video
    pyrogram.Client.start
    genericpath.isfile
    bot.get_chat_member
    humanbytes
    config.TEXT.ABOUT.format
    pyrogram.Client.on_callback_query
    range
    message.forward
    message.edit
    pyrogram.Client.stop
    bot.get_users
    start
    pyrogram.filters.regex
    TimeFormatter
    config.TEXT.HELP_USER.format
    shutil.rmtree
    logging.basicConfig
    os.stat
    bot.send_message
    math.floor
    megadl.forcesub.handle_force_subscribe
    message.message.reply_text
    int
    print
    subprocess.call
    logs_msg.reply_text.edit
    mega.Mega.login
    os.getpid
    config.TEXT.START_TEXT.format
    

    @developer Could please help me check this issue? May I pull a request to fix it? Thank you very much.

    opened by PyDeps 1
  • gdrive and login support

    gdrive and login support

    Will u consider adding gdrive support so that all downloaded files are automatically uploaded to gdrive? Also adding mega login support will let us use our premium or business account for more bandwidth

    opened by askfriends 0
Owner
SAF ONE
Meh Stupid Gamer BloGGeR YouTuber Geeky Py Coder An Quick LeARneR An Proud BanglaDeshi ❤️
SAF ONE
Simple Telegram Bot to Download and Upload Files From Mega.nz

Mega.nz-Bot Simple Telegram Bot to Download Files From Mega.nz and Upload It to Telegram Features All Mega.nz File Links supported No login required A

I'm Not A Bot #Left_TG 245 Jan 1, 2023
A simple telegram Bot, Upload Media File| video To telegram using the direct download link. (youtube, Mediafire, google drive, mega drive, etc)

URL-Uploader (Bot) A Bot Upload file|video To Telegram using given Links. Features: ?? Only Auth Users (AUTH_USERS) Can Use The Bot ?? Upload YTDL Sup

Hash Minner 18 Dec 17, 2022
An Telegram Bot By @AsmSafone To Stream Videos in Telegram Voice Chat. This is Also The Source Code of The Bot Which is Being Used In @SafoTheBot Group! ❤️

Telegram Video Player Bot (Beta) An Telegram Bot By @AsmSafone To Stream Videos in Telegram Voice Chat. Special Features Supports Live Streaming From

SAF ONE 206 Jan 3, 2023
An Advanced Telegram Bot to Play Radio & Music in Voice Chat. This is Also The Source Code of The Bot Which is Being Used For Playing Radio in @AsmSafone Channel ❤️

Telegram Radio Player V3 An Advanced Telegram Bot to Play Nonstop Radio/Music/YouTube Live in Channel or Group Voice Chats. This is also the source co

SAF ONE 421 Jan 5, 2023
A telegram bot that can upload telegram media files to anonfiles.com and give you direct download link

✯ AnonFilesBot ✯ Telegram Files to AnonFiles Upload Bot It will Also Give Direct Download Link Process : Fork This Repositry And Simply Cick On Heroku

Avishkar Patil 38 Dec 30, 2022
A Simple Telegram Bot To Download And Upload Files

AquaDLBot ➠ I Can Download And Upload files To Telegram DEMO Copyright (C) 2020-2026 by AsiaXDev@Github DONATE: BUY US A COFFEE CONTACT DEV : Asia DEP

Asia Argento 8 Feb 15, 2022
A telegram bot to download mega.nz links. (made with pyrogram).

Mega Link Downloader Bot This is a telegram bot to download mega.nz links and return them as files/videos - Made by a 100% noob! (When I mean noob I r

null 171 Dec 27, 2022
AirDrive lets you store unlimited files to cloud for free. Upload & download files from your personal drive at any time using its super-fast API.

AirDrive lets you store unlimited files to cloud for free. Upload & download files from your personal drive at any time using its super-fast API.

Sougata 4 Jul 12, 2022
A Telegram UserBot to Play Radio in Voice Chats. This is also the source code of the userbot which is being used for playing Radio in @AsmSafone Channel.

Telegram Radio Player UserBot A Telegram UserBot to Play Radio in Channel or Group Voice Chats. This is also the source code of the userbot which is b

SAF ONE 44 Nov 12, 2022
A Telegram bot to download youtube playlists and upload them to telegram. (may be slow becoz youtube limitations)

YTPlaylistDL ?? A Telegram bot to download youtube playlists and upload them to telegram. (may be slow becoz youtube limitations) ?? Follow me and sta

Anjana Madu 43 Dec 28, 2022