EZDownloader is a feature-rich Discord bot that allows users to download videos and audio directly from a URL inside Discord. It supports both MP4 (video) and MP3 (audio) formats and provides a secure Gofile link for easy sharing.
- π¬ Download videos in MP4 format
- π΅ Extract audio in MP3 format
- π Uploads to Gofile.io and returns a download link
- β³ Automatic cleanup (optional scheduling support)
- π Secure handling of environment variables via
.env
- π Powered by
yt-dlp
,ffmpeg
, andaiohttp
- Python 3.10+
- A Discord bot token
- yt-dlp
- ffmpeg
- A Gofile API token
-
Clone the repo:
git clone https://github.com/Bro7777/EZDownloader-bot.git cd EZDownloader-bot
-
Install dependencies:
pip install -r requirements.txt
-
Create a
.env
file:DISCORD_TOKEN=your_discord_bot_token GOFILE_API=your_gofile_api_token
-
Run the bot:
python main.py
In Discord, use the following command:
/download <url> <format>
url
: Link to the mediaformat
:mp4
ormp3
Example:
/download https://youtu.be/dQw4w9WgXcQ mp3
The bot will upload the file to Gofile and send you a private download link.
You can also use the /info
command in Discord to get a brief summary of what the bot does and who created it.
Developed by @Bro7777
Feel free to contribute or suggest improvements!