406 points · by surprisetalk · 1mo ago · 188 comments
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…
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.
Then, usually you play the list by itself from random position and order. So I quite often listen to them, but for a playlist of maybe 50 entries, i will just noticed that things disappeared when looking at the "hidden entries" thing.
That's the thing though, it was never yours. Just a corner in Google's library that they let you curate. You don't have to do that. It was never a good deal.
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
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?
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.
Also afraid of this happening on Apple Music, Books etc
I wish they at least stored the title of the video
This is literally why I built joyscroller for myself hahaha give a try, fork it if you want. https://github.com/sergiotapia/joyscroller
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.
What we need is compulsory licensing and a more reasonable timeframe to enter the public domain.
> 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"
Tough balance, and not one where I have any real confidence in my own answer.
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.
But you just mentioned the RSS thing ... Doctor, heal thyself!
Ssshh, you just did it again!
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).
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.
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
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 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.
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.
Something along these lines: https://github.com/Benexl/yt-x
It's intended to be used as a youtube-to-podcast-player tool, but seems like it fits your use, too.
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.
I suppose re-sharing would be the problem - but that may only occur in some instances. And it might not happen immediately either. If it does happen, if there was a way for creators to collect tips, that'd make it more feasible if their videos spread far and wide.
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).
You should use a whitelist of allowed characters. In particular, make sure to test every ASCII character. There aren't even 100 non-alphanumeric ASCII characters. I keep a list of ASCII symbols in my notes, and whenever I build a system like this, that's one of the first things I test.
Make sure you explicitly remove all control characters.
Unicode has some great features, but it's perfectly fine to strip out anything that isn't considered a "normal character" in your region. Some titles might end up looking a little strange, but fewer than 1% of videos use unusual characters anyway. Unicode simply has too many possible characters to deal with.
Explicitly normalize filenames to either NFC or NFD. Otherwise, you can run into problems when viewing content uploaded by Mac users on Windows.
Sometimes, removing invalid characters can leave you with an empty video title. Having a filename that consists of nothing but an extension can cause all sorts of problems, so make sure to include a fixed prefix or suffix in the filename. Personally, I always append the resolution, duration, and video ID to the end of the filename.
On Windows, you also need to be careful about filename length. For historical reasons, the limits are measured in UTF-16 code units, and there are restrictions on both individual filenames and full paths.
Don't get greedy and try to use the full 250 characters allowed for a filename. I'd recommend limiting filenames to around 100 characters at most. Full paths should also stay within 256 characters.
You may have heard that Windows supports full paths of up to around 30,000 characters with long path support enabled, but don't rely on that unless you've verified that every tool in your workflow supports it.
Before downloading any actual content, generate a list of titles from the latest 1,000 or 10,000 items in your system. Then try creating zero-byte files locally using the filenames your system generates, and verify that everything works correctly.
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]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
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".
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.
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!
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.
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.
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.
"--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.
At some point, all those videos were removed.
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.
Download your favorite tiktok videos, though.
Quoting: "Made me wanna have a full on offline library, in a better case..."
hm...
1st thought: "Go, buy a 'modern'-Jukebox" ?
Think of it as 'an 21.Century cyber-Interieur' fitting an 1980s-Sci-fi-movie... maybe build one DIY...showing 'cat-pictures' on other days... there are already some arcade-cabinets, showing up sometimes... which i also think, some gave an eye more than two times...
Hint: There was a Video about a guy using "infra-sounds" and a kind of "micro-Styropor" (i didn't remember his original saying) to form animated 3d-objects as a display-type.
(weekend:Modus)
2nd - https://www.youtube.com/watch?v=q5MumB7WY9k
regards... (-:
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?"
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.
`--recode-video` is probably the better solution if starting from scratch.
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.
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.