https://github.com/bdr-pro/downloaddriod
telegram bot to download from Youtube
https://github.com/bdr-pro/downloaddriod
Last synced: 10 months ago
JSON representation
telegram bot to download from Youtube
- Host: GitHub
- URL: https://github.com/bdr-pro/downloaddriod
- Owner: BDR-Pro
- License: mit
- Created: 2024-05-03T21:04:30.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-03T21:11:12.000Z (about 2 years ago)
- Last Synced: 2025-01-21T18:37:17.437Z (over 1 year ago)
- Language: Python
- Homepage: https://t.me/DD_Magic_bot
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Download Driod Bot
This Telegram bot is designed to download videos from various platforms including YouTube, directly through Telegram. It uses the Telethon library to interact with the Telegram API and custom modules to handle video downloads.
## Online Bot
click [here](https://t.me/DD_Magic_bot) to use the bot online.
## Features
- Download videos by sending a direct URL.
- Currently supports downloading from YouTube.
- Easy to expand with more platforms like Instagram and Twitter in the future.
## Requirements
- Python 3.6+
- Telethon
- Requests
- A valid Telegram API ID, API Hash, and Bot Token
## Setup
1. **Clone the repository:**
```bash
git clone https://github.com/bdr-pro/DownloadDriod.git
cd DownloadDriod
```
2. **Install the required packages:**
```bash
pip install -r requirements.txt
```
3. **Configuration:**
- You will be prompted to enter your Telegram API ID, API Hash, and Bot Token when you run the bot. Make sure to have them ready.
## Running the Bot
To run the bot, execute the following command in the root directory of your project:
```bash
python main.py
```
Follow the prompts to enter your Telegram credentials.
## Usage
- Send `/start` to initiate the bot.
- Send `/help` for information on how to use the bot.
- To download a video, send a valid URL to the bot. It currently supports URLs from YouTube. Support for other platforms can be added as needed.
## Adding More Platforms
To add support for other platforms, define additional functions for handling downloads similar to the existing `download_youtube_video`, `get_thumbnail`, and `get_title` functions.
## Contributing
Contributions to expand the bot's capabilities are welcome. Please submit a pull request or create an issue if you have ideas or find bugs.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
---