My arguments line for the extension looks something like this: /C C:\Users\[user]\youtube-dl\yt-dlp.exe -v -P "D:\Media\Videos" -f "bv[vcodec!=av01]+ba/b" --write-subs --embed-subs --sub-langs "en.*" --compat-options no-keep-subs --merge-output-format mkv [HREF]
Download your favourite YouTube videos (criminallyvulgar.dev)
Teslazar 3 minutes ago
jerjerjer 41 minutes ago
> This is the only yt-dlp wrapper that allowed me to properly maintain the Playlist structure to any extent
I have the same requirement and it's possible to do it with the default yt-dlp:
yt-dlp --embed-metadata --parse-metadata "playlist_index:%(track_number)s" "PLAYLIST_URL"
chmod775 2 hours ago
There's videos from ~15 years ago that I consider gone for good - lost to the great copyright apocalypse - having been unable to find them anywhere on the today's internet.
glouwbug 2 hours ago
joshuat 35 minutes ago
nomilk an hour ago
DarkNova6 21 minutes ago
JKCalhoun 7 minutes ago
I saw a similar thing some years back: playlists I had created began to be missing videos.
Been scraping ever since…
EvanAnderson an hour ago
djeastm 19 minutes ago
But you just mentioned the RSS thing ... Doctor, heal thyself!
weinzierl an hour ago
Many from my generation, who grew up during an era of information scarcity, have huge stashes of hoarded data. But what can we do with it? There is no way to legally share it, so we take it with us in our graves.
Apocryphon an hour ago
jasonjayr an hour ago
keeganpoppen 19 minutes ago
EvanAnderson 5 minutes ago
zetanor an hour ago
asdff 35 minutes ago
prologic 3 hours ago
ivanjermakov 3 hours ago
Since youtube api won't help with this someone needs to build a video index and a good search algorithm on top. Would be nice to be able to search through indexed subtitles too.
prologic 3 hours ago
ivanjermakov 2 hours ago
Forgeties79 2 hours ago
em-bee 2 hours ago
Forgeties79 2 hours ago
nonethewiser 2 hours ago
copy(
'yt-dlp ' +
[...document.querySelectorAll('ytd-video-renderer a#video-title')]
.map(a => {
const u = new URL(a.href);
return `"https://www.youtube.com/watch?v=${u.searchParams.get('v')}"`;
})
.join(' ')
)sjs382 2 hours ago
It's intended to be used as a youtube-to-podcast-player tool, but seems like it fits your use, too.
jasode 2 hours ago
Not sure what you're exactly asking for. Google/Youtube does provide an "official" API for youtube searches:
https://developers.google.com/youtube/data/reference/rest/v3...
It's rate-limited but other hacks to scrape Youtube without the API will also be rate-limited as well unless you try to trick Google via unapproved hostile methods such as commanding an army of residential ip zombies and aggregate it.
Fundamentally, the index of Youtube videos lives in Google's servers so you're beholden to Google to get results from it. If the issue is that the Google's official results from search queries are not surfacing the videos you think are actually there, it means you'd have to build a duplicate (massive) "shadow" index to return those missing videos. To build such a beast, you're back to hitting the brick wall of rate-limits again.
prologic 2 hours ago
prologic 2 hours ago
> API key not valid. Please pass a valid API key.
hbn 2 hours ago
That's kinda the nature of YouTube downloaders/scrapers including yt-dlp. It's not exactly a public API that YouTube's offering to support.
Stagnant 2 hours ago
em-bee 2 hours ago
athrowaway3z 2 hours ago
A script that streams clipboard changes.
Next i run a bunch of user services that do:
`await-clipboard.sh | grep --line-buffered -z -e "youtu" | ...`
I just use youtube like normal, but instead of clicking a video i right-click copy to clipboard and a mpv+sponsorblock window pops up
rsinerate 2 hours ago
al_borland an hour ago
It worked decently well. However, I started running into API limits when it would refresh to fetch updates. Things could likely be tweaked to avoid this, but I haven’t revisited it yet.
I didn’t make a generic search, but did allow pulling up one-off videos to download and favorite them.
asdff 34 minutes ago
vagab0nd an hour ago
botanrice an hour ago
joshuat 33 minutes ago
allexsendev an hour ago
tombert 2 hours ago
I wanted to rewatch some of his videos recently and as far as I can tell most of his videos are now lost media. I should have downloaded them when I had the chance.
EvanAnderson 2 minutes ago
mococa an hour ago
dSebastien 2 hours ago
All automated for years
Forgeties79 an hour ago
EvanAnderson 44 minutes ago
ryankrage77 3 hours ago
tosti 3 hours ago
shevy-java an hour ago
For this purpose I also kept list, in .yml files, for the most recent URL. Not just on youtube but also dailymotion etc...
Interestingly there are some surges of URLs suddenly being eliminated. Naturally we know the copyright mafia is trying to hinder us, the people here, but it is interesting how that works. Because ... it sometimes works. And then it does not work. Which is quite strange to me.
For instance, you can often still find new videos on youtube here, even full movies. Sometimes you can download them; then suddenly they are gone, but they were up before that for months or even years. So it is really really strange to see some videos suddenly vanishing, others being around for decades literally. Even when you'd assume these have ... "copyright issues".
hsuduebc2 36 minutes ago
Agreed. I mourn the deletion of legendary Hair cake video from FilthyFrank every now and then. But at least we have AI slop videos or in better case videos with "The inevitable rise and fall of XXX" title" with human narrator reading AI written script. But hey at least everyone censor word fck and sht.
yh11 2 hours ago
1317 2 hours ago
foobarbaggins an hour ago
yreg an hour ago
superkuh 3 hours ago
But yes, everyone should be not deleting the videos they've downloaded.
ivanjermakov 3 hours ago
em-bee 2 hours ago
SirFatty 2 hours ago
Yes, that's exactly what it means.
asdff 30 minutes ago
amiga386 18 minutes ago
yt-dlp, as far as I know, always asks for the same consistent quality/bitrate of your choosing (and saves them to disk and joins the segments and muxes the video and audio into one stream)