Download audio/videos from the internet!
Project description
Media Downloader
Version: 1.0.9
Download videos and audio from the internet!
MCP Server Support!
This repository is actively maintained - Contributions are welcome!
Supports:
- YouTube
- Rumble
- BitChute
- Vimeo
- And More!
Usage:
CLI
| Short Flag | Long Flag | Description |
|---|---|---|
| -h | --help | See usage |
| -a | --audio | Download audio only |
| -c | --channel | YouTube Channel/User - Downloads all videos |
| -f | --file | File with video links |
| -l | --links | Comma separated links |
| -d | --directory | Location to save videos |
Using an an MCP Server:
AI Prompt:
Download me this video: https://youtube.com/watch?askdjfa
AI Response:
Sure thing, the video has been downloaded to:
"C:\Users\User\Downloads\YouTube Video - Episode 1.mp4"
Example:
Use in CLI
media-downloader --file "C:\Users\videos.txt" --directory "C:\Users\Downloads" --channel "WhiteHouse" --links "URL1,URL2,URL3"
Use in Python
# Import library
from media_downloader import MediaDownloader
# Set URL of video/audio here
url = "https://YootToob.com/video"
# Instantiate vide_downloader_instance
video_downloader_instance = MediaDownloader()
# Set the location to save the video
video_downloader_instance.set_save_path("C:/Users/you/Downloads")
# Add URL to download
video_downloader_instance.append_link(url)
# Download all videos appended
video_downloader_instance.download_all()
# Optional - Set Audio to True, Default is False if unspecified.
video_downloader_instance.set_audio(audio=True)
# Optional - Open a file of video/audio URL(s)
video_downloader_instance.open_file("FILE")
# Optional - Enter a YouTube channel name and download their latest videos
video_downloader_instance.get_channel_videos("YT-Channel Name")
Use with AI
Deploy MCP Server as a Service
docker pull knucklessg1/media-downloader:latest
Modify the compose.yml
services:
media-downloader-mcp:
image: knucklessg1/media-downloader:latest
volumes:
- downloads:/root/Downloads
environment:
- HOST=0.0.0.0
- PORT=8000
ports:
- 8000:8000
Configure mcp.json
{
"mcpServers": {
"media_downloader": {
"command": "media-downloader-mcp",
"env": {
"DOWNLOAD_DIRECTORY": "~/Downloads", // Optional - Can be specified at prompt
"AUDIO_ONLY": false // Optional - Can be specified at prompt
},
"timeout": 300000
}
}
}
Installation Instructions:
Install Python Package
python -m pip install media-downloader
Geniusbot Application
Use with a GUI through Geniusbot
Visit our GitHub for more information
Installation Instructions with Geniusbot:
Install Python Package
python -m pip install geniusbot
Repository Owners:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file media_downloader-1.0.9.tar.gz.
File metadata
- Download URL: media_downloader-1.0.9.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbdb5fb227d427a80f7ede25a5c632e6af2fb984813984985799665090620027
|
|
| MD5 |
97585b680680db2194277233d0c99316
|
|
| BLAKE2b-256 |
34ba54ed8cc7e27641e82492892fed2e217c15fe8437c1c1408552966b294d11
|
File details
Details for the file media_downloader-1.0.9-py3-none-any.whl.
File metadata
- Download URL: media_downloader-1.0.9-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a08f4bb7534aa554586c13350de944d5a8f6b273a2e4de9e5873394559a35e6
|
|
| MD5 |
401c4ce58ec7e9cf5b37355bbcb8b1b8
|
|
| BLAKE2b-256 |
b8ce4afd4e05b5330999b97deea00ed6c2f1b8b32529a3d6e10239c176e38e97
|