An open API service indexing awesome lists of open source software.

https://github.com/mumu-lhl/yt-music-archive

Download youtube music locally and store its id in a archive file, and restore the music from this file. 将 Youtube Music 上的音乐下载到本地,并将其 ID 存入一个存档文件中。也可以从存档文件中还原出音乐。
https://github.com/mumu-lhl/yt-music-archive

archive youtube youtube-music youtubemusic

Last synced: 6 months ago
JSON representation

Download youtube music locally and store its id in a archive file, and restore the music from this file. 将 Youtube Music 上的音乐下载到本地,并将其 ID 存入一个存档文件中。也可以从存档文件中还原出音乐。

Awesome Lists containing this project

README

          

# Youtube Music Archive (yt-music-archive)

English | [中文](./README_CN.md)

**I'm a 🤡: You can use yt-dlp to download a playlist to do the same feature**

Download youtube music locally and store its id in a archive file, and restore the music from this file.

## Install

```sh
sudo make
```

## Usage

```
Usage: yt-music-archive [options]

Commands:
save Save a song to the archive file and download the music
fetch Fetch all songs from the archive file

Options:
-p, --path Set the output path
-h, --help Help
```

## Configure

You can configure yt-music-archive in `/etc/yt-music-archive/yt-music-archive.conf` or `~/.config/yt-music-archive/yt-music-archive.conf`.

```sh
archive_file=~/.local/share/yt-music-archive/archive
# Archive file that saves ids
#default_path=~/Music # Default path to save music
```