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 存入一个存档文件中。也可以从存档文件中还原出音乐。
- Host: GitHub
- URL: https://github.com/mumu-lhl/yt-music-archive
- Owner: mumu-lhl
- License: mit
- Archived: true
- Created: 2024-07-27T08:16:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-27T14:22:30.000Z (over 1 year ago)
- Last Synced: 2025-03-02T05:27:48.052Z (8 months ago)
- Topics: archive, youtube, youtube-music, youtubemusic
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```