Download your favourite YouTube videos
criminallyvulgar.dev
criminallyvulgar.dev
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.
I often get a wave of videos I've watched years ago pop up as recommended and not marked as watched.
I saw a similar thing some years back: playlists I had created began to be missing videos.
Been scraping ever since…
...what? Why? Do you feel the videos she likes should be allowed to just vanish into the mists of time? To me that sounds like saying 'my sister takes pictures at her daughters' birthdays and I'm trying to get her to stop'.
> ...what? Why? Do you feel the videos she likes should be allowed to just vanish into the mists of time? To me that sounds like saying 'my sister takes pictures at her daughters' birthdays and I'm trying to get her to stop'.
Anything, even good things, can be done to excess.
If you're grabbing 720p of things you actually watched, then at 4 hours at day and 1.5Mbps an entire year of recordings would be less than a terabyte. So I'd estimate this as a $1-5 per month hobby and the time/effort shouldn't be too bad either. If they reach small NAS territory then that's a useful thing to learn. They just need to limit the 4K content.
Just yesterday, I was watching Digging The Greats on YouTube, discussing De La Soul's Three Feet High and Rising. He can't even recreate the beat/mix on YouTube as it would get flagged for copyright. It was unavailable for streaming/download until 2023 due to licensing issues.
My go-to example of disappearing media is the third season of Monkey Dust that ran into problems with music licensing and so it was never available on DVD and will never be screened again. (Available through nautical methods)
That being said, up until literally a week or two ago, I had a data cap of 1.3TB/mo. It'd take me a while to hoard much data after all of my normal data usage. If you stream a lot of video, 1.3TB is shockingly little.
What are you trying to archive? Is it the words the person is saying, or the arrangement of his freckles? Even the lowest video quality is sufficient to convey all of the information content of most videos. Sometimes the audio alone is sufficient.
The file size difference between the 360p and 4k versions of the video can be 95% or more. That is to say you can archive twenty times more videos. I wouldn't recommend going below 360p. At 360p expect to store around 1-2 MB per minute.
Same for downloading content. Over 15+ years, there have been so many tools that purport to download YouTube videos and they either don't work or get patched or full of bugs or malware. It's surprisingly hard to do, especially at any scale. more of an art than science. understandably, YouTube does not want people just downloading their content easily without paying for premium.
yt-dlp -U
Also afraid of this happening on Apple Music, Books etc
I wish they at least stored the title of the video
Like tears in the rain.
https://www.youtube.com/watch?v=NoAzpa1x7jU
In this day and age will AI be born a replicant but dies a human?
This is literally why I built joyscroller for myself hahaha give a try, fork it if you want. https://github.com/sergiotapia/joyscroller
Those were definitely not copyright claimed by anybody. But 3/4 of them are gone by now when I tried some nostalgia - youtbe -spelunking recently . I assume youtube silently deletes videos if they are never watched? Or maybe they are still there, but not easily findable anymore.
Still - it would not surprise me to find out that youtube has some kind of culling mechanism for deleting old videos form inactive uploaders that don't get views.
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.
EDIT: Many good comments, but they all suffer from one blind spot, so I answer here instead of individually.
A lot of content is only legal because it is on YouTube (or any other platform that has deals with the content industry). Sure, we can share illegally in a way that is obscure enough that no one gets sued. But what help is that, eventually it will get either popular and sued out of existence or forgotten and fade.
Then there is old content that is not legally shareable at all, like old game ROMs. Plenty of millennial stuff there but the Gen-X world is already half forgotten.
Cooyright is just too long and too unreliable. What we need at least is exemptions from Copyright for archivists, otherwise a lot of stuff will simply be lost in the coming decades.
I think about this. How can we give back interesting stuff we've archived over the years? Or release it on death?
I feel I should either start planning and sharing now, or risk passing on short notice with no way to way to give anything back, taking my data to the grave.
I just hope someone in 2100 will want to see my meme archive.
> 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"
"--sponsorblock-remove all"
has been immensely useful to me as well. The sponsorblock plugin and yt-dlp interop was one of the best things out there ever invented until the marketers fought back and DDOS'd it and made it hard to contribute 'ignore' timestamps for new videos for most users. Still really good for older videos though.
But you just mentioned the RSS thing ... Doctor, heal thyself!
Ssshh, you just did it again!
Tough balance, and not one where I have any real confidence in my own answer.
and yt-dlp I guess?
I guess the RSS side does provide some value standalone. I used to as read/unread pointers before I started actively archiving, so there was value in that. Beyond posting a couple of private videos for sharing purposes I've never actually used a Youtube account for any of the community engagement stuff (like / subscribe / bleeeeech). My feed reader served the "subscribe" function fine (which is why I assume Google would love to kill the RSS feeds).
I have avoided any kind of "community" or participatory-type Youtube engagements specifically because I expect it all to get walled-off at some point.
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.
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(' ')
)It's intended to be used as a youtube-to-podcast-player tool, but seems like it fits your use, too.
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.
> API key not valid. Please pass a valid API key.
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.
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
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.
Something along these lines: https://github.com/Benexl/yt-x
There used to be web sites that also had the images, but those sites are now gone. The sites have also been removed from archive.org, too. Luckily on Anna's Archive, I found a digital scan of one of the books, but it's partially corrupted.
There is serious money being spent by powerful people to erase history. I can't see how anyone who values truth be ok with that.
[0] an interesting and unknown fact is that immediately after the start of the U.S. gulf wars "professional looters" came in with heavy equipment and dug up some sites 10 meters down. Apparently, you can see the damage from satellite photos, but I haven't checked.
Most stuff produced today is not only not knowledge, as of now the majority may not even be human. If you're living in the metaphorical Wall-E garbage mountain filtering and disposal are much more important skills than accumulation
Oof, this so much - I've tracked down some early and mid 20th century books about a hobby and that was tough and expensive.
Back in 2001 the Taliban destroyed the Buddhas of Bamiyan statutes. The only people who didn't get to upset were the Buddhists. That is because if the Taliban did destroy them, maybe a flood would, or an earth quake, or eventually just erosion. It doesn't mean just accept reckless destruction but also is a lesson as accept that everything passes with enough time.
Dont strangle life and hold everything in place but let it flow like sand or water. Some sticks, most doesn't.
I'd say most Buddhists are closer to that than to Boomer Californian eat your veggies to cure cancer LSD Buddhism.
i make references to it now and then, and it feels very sad that i didn't archive it.
this specific video was called "Rock to bottom", a half blend between song and joke, with these quotes crammed into it: - "You drink too much Co-Cola, feel like you just can't stop?" - "You check Facebook, even at funeral?" - "You watch more reality television, than actual reality?"
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]First I had a simple script. Now I use a little more complex approach with queuing, mqtt and direct replies with wormhole codes so one can download it directly.
1. Vibed a firefox extension that polls my youtube watch later list and saves as bookmarks
2. Vibed a second firefox extension that syncs bookmarks to a self-hosted karakeep (bookmark manager)
3. Configured karakeep to download videos from youtube bookmarks (it uses yt-dlp internally).
It's pretty nifty.
At some point, all those videos were removed.
This can be mitigated by adding `-o "%(title).150B [%(id)s].%(ext)s" ` to command line, which trims filenames to 150 bytes max. There are other options like --trim-filenames, but yt-dlp don't apply those to the interim part files and that triggers the failure anyway. The relevant issue has been reported on GH years ago and closed by the maintaining author with no PR from me(hey).
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.
All automated for years
I have a script that downloads sequentially, and there’s an optional variable interval in between—though I don’t think I’ll actually need that. I once downloaded the entire contents of a YouTube channel that had over 400 GB of audiobooks. After a while, YouTube throttled the speed to 1/2 MB/s—which didn’t bother me, but everything still downloaded successfully. That was already two years ago, though.
A few days ago, I spent two consecutive days nonstop downloading playlists from YouTube Music, but that didn't trigger anything either.
I never did get throttled-- I just stuck in "you must login" hell. We don't login to YouTube in our household, so that effectively cut YouTube off for my wife and daughter. My wife couldn't have cared less but I learned that being able to stream music videos while getting ready for the day or bed is mission-critical for my daughter. (I've asked her to identify channels I can sic the archiving rig on but, heretofore, she hasn't done it. I keep telling her those videos she likes could disappear at a moment's notice...)
`--recode-video` is probably the better solution if starting from scratch.
Download your favorite tiktok videos, though.
It works really well! And it's all free, open source, and built with Rust to make the footprint as small as possible.
It also has a cool TV mode where you can pick a channel (tiktok/youtube/instagram) and it autoplays stuff at random, even has cool "tandas" videos for in-between to make it feel more authentic. Check it out!
Websites could ask their visitors to keep a tab open and their browsers will automatically store chunks (and earn safebux for serving videos, if they want to turn that on). This was designed to be far simpler than IPFS, with no “sealing” … just open a browser tab and get paid.
https://www.helpnetsecurity.com/2026/06/19/safecloud-browser...
It works now, you can try it locally:
https://github.com/Safebots/Safecloud
The real interesting part is when it connects with Safebox remote attestation. Here you can prove that the server has not been compromised, and that together with HTTPS proves that the JS is official. You don’t need men with guns for DRM or copyright… you can enforce it this way. An individual user might hack the JS they got but someone else can’t distribute the hack at scale (unless it is with a rogue jailbroken browser). The Jets in safecloud wouldn’t release the chunks unless there was a recent assertion + TPM attestation from the Safebox serving the player iframe.
This way you can enforce revenue streams like “pay per minute” and have the client side actually enforce it for nearly all users.
@tptacek you would love Safecloud I think
Ideally I want videos on my home server organised into arbitrary folders and a nice simple video player on my Android TV that I can browse the folder tree with. Just like the old days. I don't care about accessing this stuff outside of my home network.
At the time I was already concerned that what would later be called deep fakes would be abused by big sites to mass-manipulate the bifurcated segments of the larger population in near real-time. At that time in 2013 I was told I must be smoking some really good shit, and perhaps I was.
But now in 2026 about twelve years after Google's primitive artificial neural networks showed us an on-silicon view of tripping balls in a grocery store, and now the mediocre enthusiasts both technical and not are no longer like "oh yeah that's cool man" but has been exposed to what artificial neural networks are doing day to day, the concern for targeted convincing-as-totally highly manipulative edits of hour long podcasts is not so "out there".
https://brand.io/article/spymarks/
Pouff - Grocery Trip
https://www.youtube.com/watch?v=DgPaCWJL7XIFor 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".
But yes, everyone should be not deleting the videos they've downloaded.
In fact when youtube started the entire file would be downloaded to /tmp/. And it was this way for a long time. Then the lawyers heard about it and instead youtube would download the file then delete it and read from the filehandle of the deleted file. Then flash went away. And the replacement video streaming services would send chunks that would be on disk and then the lawyer pacification process repeated and now everything is only stored "in ram" but often, and on many systems, that isn't true either. But it's enough to keep the lawyers calm.
Yes, that's exactly what it means.
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)
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.