Skip to content

AbeNaws/Mloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Mloader

A Python script for downloading YouTube videos/playlists and converting them to high-quality MP3 files with metadata.

Features

  • Downloads from YouTube videos and playlists
  • Converts to 192kbps MP3 format
  • Automatically embeds video thumbnails as album art
  • Adds ID3 metadata (title, artist, album)
  • Preview downloads before starting
  • Handles duplicate filenames
  • Input validation for URLs

Requirements

pip install yt-dlp mutagen validators ffmpeg-python

FFmpeg is required for audio conversion:

# Ubuntu/Debian
sudo apt install ffmpeg

# macOS
brew install ffmpeg

Usage

  1. Set DOWNLOAD_FOLDER in the script to your desired music folder

  2. Run the script:

python mloader.py [URL]

Or run without arguments to input URL when prompted.

  1. The script will:
    • Preview content to be downloaded
    • Download and convert videos to MP3
    • Add metadata and album art
    • Save files to the specified folder

Error Handling

  • Validates URLs before processing
  • Handles download/conversion errors gracefully
  • Prevents filename conflicts
  • Reports specific errors for troubleshooting

Legal Note

Check your local laws regarding YouTube downloads. Use responsibly and respect copyright.

About

Mloader - YouTube MP3 Downloader

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages