Can youtube-dlp download youtube videos with the descriptions like y2down.cc @kemotep (s3-us-west-1.amazonaws.com)
from Reshirams_Rad_Slam@mastodo.neoliber.al to nostupidquestions@lemmy.world on 13 Sep 06:39
https://mastodo.neoliber.al/users/Reshirams_Rad_Slam/statuses/113128870236352250

@nostupidquestions Can youtube-dlp download youtube videos with the descriptions like y2down.cc @kemotep
Tartube doesn’t seem to

#nostupidquestions

threaded - newest

wesker@lemmy.sdf.org on 13 Sep 06:49 next collapse

What do you mean descriptions? Like the video’s description body text? If so, yes. Gimme one moment to get on my computer, and I’ll edit this comment to include the command args.

EDIT: This is the specific shell alias I use when I’m archiving videos for backup.

yt-archive() {
    yt-dlp --embed-chapters \
        --concurrent-fragments 5 \
        --restrict-filenames \
        --write-description \
        --write-subs \
        --write-auto-subs \
        --sub-langs="en.*" \
        --paths="~/Archival/" \
        "$@"
}

The command arg you’re likely most interested in is –write-description which will output the text to a text file alongside the video file

4am@lemm.ee on 13 Sep 12:13 collapse

This is good info but I believe they mean the Chapter names which appear along the play bar (see “Chapter: Results” in OP’s screenshot)

wesker@lemmy.sdf.org on 13 Sep 15:37 collapse

The –embed-chapters flag above should accomplish this, then.

Tyoda@lemm.ee on 13 Sep 12:16 next collapse

–embed-metadata

Embed metadata to the video file. Also embeds chapters/infojson if present unless --no-embed-chapters/–no-embed-info-json are used (Alias: --add-metadata)

from the yt-dlp github page

prole@lemmy.blahaj.zone on 13 Sep 20:03 collapse

It does fucking everything lol.

Thought it was just for YouTube videos until I got it recently and read the man file. The amount of shit you can do with it is insane.

LunchMoneyThief@links.hackliberty.org on 14 Sep 05:07 next collapse

Much of it is just functionality by way of ffmpeg, which is also an excellent program.

Thavron@lemmy.ca on 14 Sep 13:11 collapse

I was pleasantly surprised that it also works for most… spicy websites.

prole@lemmy.blahaj.zone on 16 Sep 12:15 collapse

Indeed