[See musicdlp] Download and convert videos and music from YouTube, automatically add ID3 tags and lyrics
This repository has been archived on 2024-04-27. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2023-03-01 18:33:27 +04:00
.convert_helper.sh Tagging, 755 mode 2023-02-03 12:06:41 +04:00
.gitignore PEP8, MyPy, Pylint; Makefile glob bugfix 2023-02-08 15:00:20 +04:00
.id3tag_helper.py Bugfix 2023-03-01 18:33:27 +04:00
autoytdlp.sh Disabled debug option 2023-02-07 20:09:05 +04:00
convert.sh Custom Piped URL, improved code for interactive read prompts 2023-02-07 19:36:43 +04:00
id3tag.sh Manual info correction, input() using readline 2023-02-08 14:07:51 +04:00
LICENSE Added license 2023-02-03 21:11:35 +04:00
Makefile Makefile: reordered, added rmfiles cmd 2023-02-08 17:31:25 +04:00
pylintrc PEP8, MyPy, Pylint; Makefile glob bugfix 2023-02-08 15:00:20 +04:00
README.md Deps: fixed versions, added yt-dlp; Readme: description, deps, usage 2023-02-09 16:17:05 +04:00
requirements.txt Deps: fixed versions, added yt-dlp; Readme: description, deps, usage 2023-02-09 16:17:05 +04:00

Auto YT-DLP

The Bash script which automatically finds links in the clipboard and downloads video/audio from these URLs using yt-dlp.

Created mainly for downloading music albums from YouTube.

Requirements

It requires Python 3.7 or newer and yt-dlp.
Additionally, if you want to use convert.sh, you'll need to install ffmpeg.
For id3tag.sh requirements are mutagen, requests and bs4 libraries.

You can run make deps to install all requirements,
or this command:

pip install -r requirements.txt

Usage: autoytdlp

  1. Run the script with ./autoytdlp.sh or make run command.
  2. Just copy video links from YouTube or another supported website.
  3. Return to the terminal window and press Ctrl+C.
  4. Choose which tool will be used for downloading videos:
    • yt-dlp CLI utility provides much better performance and supports many sources.
    • Piped API client implementation works slower, but all requests are proxied with Piped server. Note that Piped works only with YouTube.
  5. Enter file format (and instance URL for Piped), then wait while videos are downloading.

Usage: convert

// TODO

Usage: id3tag

// TODO