Skip to content
项目

invzfnc/spotify-downloader

在 GitHub 查看

关于

Downloads Spotify playlists in high quality without login.

设计与媒体

这些数字如何统计

可以做什么

  • No premium subscription required
  • No login required
  • Downloads in higher bitrate (around 300 kbps)
  • With embed metadata (title, artist, album and album art, etc)

实测星标增长

24小时
0
7天
+1
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文
Logo

spotify-dl - Spotify Playlist Downloader

Downloads Spotify playlists in high quality without login by matching each track and downloading it from YouTube Music.

YouTube video demonstrating usage (binaries)

Latest release version Total downloads

Features

  • No premium subscription required
  • No login required
  • Lightweight
  • Downloads in higher bitrate (around 300 kbps)
  • With embed metadata (title, artist, album and album art, etc)

Warning

This program uses YouTube Music as the source for music downloads, there is a chance of mismatching.

This program is for educational purposes only. Users are responsible for complying with YouTube Music and Spotify's terms of service.

Usage

This program requires ffmpeg to work. Install ffmpeg and add the folder where ffmpeg.exe is located to PATH/system environment variables.

Unlike most downloader, this program does not require a Spotify Developers account.

Using Binaries (Windows Only)

  1. Download the latest binaries from the release section.

  2. Extract the files and navigate to the extracted folder.

  3. Open command prompt/terminal and run the program with your playlist URL.

    spotify-dl.exe playlist_url
    

Available Options

  • To get help on available options:

    spotify-dl.exe --help
    
  • To specify where to store downloaded files:

    spotify-dl.exe -o path playlist_url
    
  • To change audio format (for example mp3):

    spotify-dl.exe -f mp3 playlist_url
    
  • To set how many songs are matched at the same time (default: 3. P.S. There is no hard limit set, but please don't go wild)

    spotify-dl.exe -c 5 playlist_url
    
  • To enable yt-dlp's --download-archive option

    Download only videos not listed in the archive file. Record the IDs of all downloaded videos in it.

    spotify-dl.exe --download_archive FILE playlist_url
    
  • To save as <title> - <artist>.<ext> instead of the default <artist> - <title>.<ext>:

    spotify-dl.exe --title-first playlist_url
    

Using Source Code

  1. Clone the repository.

    git clone https://github.com/invzfnc/spotify-downloader.git
    cd spotify-downloader
    
  2. Create and activate a virtual environment (Optional but recommended), then install required dependencies.

    # using uv
    uv sync
    
    # Windows
    .venv\Scripts\activate
    
    # Linux/MacOS
    source .venv/bin/activate
    
    # using pip
    python -m venv venv
    
    # Windows
    venv\Scripts\activate.bat
    
    # Linux/MacOS
    source venv/bin/activate
    
    python -m pip install -r requirements.txt
    
  3. Run the program with your playlist URL.

    python -m spotify-dl playlist_url
    

Available Options

  • To get help on available options:

    python -m spotify-dl --help
    
  • To specify where to store dowloaded files:

    python -m spotify-dl -o path playlist_url
    
  • To change audio format (for example mp3):

    python -m spotify-dl -f mp3 playlist_url
    
  • To set how many songs are matched at the same time (default: 3. P.S. There is no hard limit set, but please don't go wild)

    python -m spotify-dl -c 5 playlist_url
    
  • To enable yt-dlp's --download-archive option

    Download only videos not listed in the archive file. Record the IDs of all downloaded videos in it.

    python -m spotify-dl --download_archive FILE playlist_url
    
  • To save as <title> - <artist>.<ext> instead of the default <artist> - <title>.<ext>:

    python -m spotify-dl --title-first playlist_url
    

Issues

If you have encountered problems, please read the guidelines for detailed instructions on how to open an issue.

Contributing

Contributions are welcome! If you'd like to contribute, please read our CONTRIBUTING.md guide for details on how to get started.

Credits

Icon designed by exia09.

License

This software is licensed under the MIT License © Cha

探索相关项目

加载中…