Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

BatchMusicDL

A lightweight batch music downloader based on the excellent musicdl.

This tool automates the downloading process by:

  • Reading songs from a TXT file

  • Automatically selecting the first search result

  • Downloading songs without any interactive selection

  • Organizing downloaded files into a clean folder

  • Renaming files to:

  • Removing temporary files generated by musicdl


Features

  • Batch download from TXT
  • Automatic first-result selection
  • No interactive keyboard input
  • Automatic output folder creation
  • Automatic file renaming
  • Automatic cleanup
  • Failed download report
  • API-based implementation (no subprocess)

Installation

Install Python 3.11+

Install musicdl


Usage

Create a txt file:

Alan Walker - Faded Adele - Hello Linkin Park - Numb

Run

python batch_musicdl.py songs.txt

Output:

CloudMusic/ └── songs/ ├── Alan Walker - Faded.flac ├── Adele - Hello.mp3 └── Linkin Park - Numb.flac


Configuration

Configuration

Edit these variables in the script:

DOWNLOAD_ROOT = Path(r"D:\CloudMusic")

PLATFORM = "QQMusicClient"


Credits

musicdl

https://github.com/CharlesPikachu/musicdl

About

Batch download music using musicdl API with automatic first-result selection.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages