Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A user-friendly, menu-driven Python Program for yt-dlp

License

NotificationsYou must be signed in to change notification settings

AstroLightz/yt-dlp-adv2

Repository files navigation

YT-DLP-ADV



yt-dlp-adv is a remake of the original yt-dlp-adv, written in Python.A clean CLI script to download videos, audio, and thumbnails from YouTube.

This Script utilizesyt-dlp for downloading content from YouTube.

Requirements

  • An operating system with aUnix filesystem.1

  • Python 3.12 or higher

  • FFmpeg

  • ImageMagick

Installation:

Automatic Installation (Experimental)

Install yt-dlp-adv2 using one of the following commands:

MethodCommand
curlbash -c "$(curl -fsSL https://raw.githubusercontent.com/AstroLightz/yt-dlp-adv2/master/install.sh)"
wgetbash -c "$(wget -O- https://raw.githubusercontent.com/AstroLightz/yt-dlp-adv2/master/install.sh)"

The installation script can add an alias to your bashrc/zshrc file to execute yt-dlp-adv2:

alias yt-dlp-adv="\"/Install/Location/yt-dlp-adv/.venv/bin/python\"\"/Install/Location/yt-dlp-adv/main.py\""

Manual Installation

To install the program manually, run the following command in your terminal:

git clone https://github.com/AstroLightz/yt-dlp-adv2.gitcd yt-dlp-adv2python3 -m venv .venvsource .venv/bin/activatepip install -r requirements.txt

Then see theUsage section below.

Usage:

To use the program, run the following command in your terminal:

source .venv/bin/activatepython3 main.py

Features

  • Download videos, audio, and thumbnails from YouTube

  • Download playlists or single items

  • Choose what file format to use

  • If you are downloading a playlist, choose a playlist name format

  • Choose filename format to use

    • e.g. (uploader) - (title).(ext)
  • Dynamic directory location for each type of download2

    • Music: ~/Music/YouTube Downloads
    • Videos: ~/Videos/YouTube Downloads
    • Artwork: ~/Pictures/YouTube Downloads
  • Custom download status messages

  • See overview of download after download is complete

Filename Creator / Playlist Name Creator

Don't like the default filename format presets? Make your own using theCustom option in the menu.

There are two modes to use:

  • Simple: Menu-driven creation where you get to pick format parts to assemble your format.
  • Advanced: You can enter your own output template. Seetheyt-dlp documentation for more info onoutput templates.

Filename Creator can be accessed through the Downloader, Config Editor, or by passing-f or--format-editor as anargument tomain.py

Playlist Name Creator, like Filename Creator, allows you to make your own playlist name format.Choose fromSimple orAdvanced mode to create your playlist name format.

Playlist Name Creator can be accessed through the Downloader when downloading a Playlist, Config Editor, or bypassing-f or--format-editor as an argument tomain.py

Config Editor

Customize how yt-dlp-adv works through theConfig Editor. View, edit, and reset your config file throughuser-friendly menus.

Your config file is stored in script's directory asconfig.yml.3

Config Editor can be accessed by passing-c or--config as an argument tomain.py


Info on development can be found in theTODO file.

Screenshots

Main Menu

Main Menu of yt-dlp-adv script

Menu Options

Menu Options of yt-dlp-adv script

Video Qualities

Download Status

Download Status of yt-dlp-adv script

Custom Presets using the Filename Creator

Edit config options using the Config Editor

Making Changes / Video Qualities

Config Problems Handling


License:

This project is released under theUnlicense. ChecktheLICENSE file for more information.

Acknowledgements:

Footnotes

  1. Windows WSL and macOS untested

  2. Default download locations can be changed in the Config Editor.

  3. It is recommended to use the Config Editor for editing the config file. You are responsible for any edits madeoutside the Config Editor.


[8]ページ先頭

©2009-2025 Movatter.jp