this post was submitted on 29 Apr 2024
37 points (97.4% liked)
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ
54655 readers
594 users here now
⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.
Rules • Full Version
1. Posts must be related to the discussion of digital piracy
2. Don't request invites, trade, sell, or self-promote
3. Don't request or link to specific pirated titles, including DMs
4. Don't submit low-quality posts, be entitled, or harass others
Loot, Pillage, & Plunder
📜 c/Piracy Wiki (Community Edition):
💰 Please help cover server costs.
Ko-fi | Liberapay |
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You can get all the IDs using yt-dlp
yt-dlp --flat-playlist --print id <playlist>
Assuming you're on linux, you can add
>> ids_all.txt
at the end to save the list to a file.You can also add
--compat-options no-youtube-unavailable-videos
to get only the list of available videos instead and then, again assuming you're on linux, do
diff ids_all.txt ids_available.txt
to get the odd ones out. That's the simplest I could come up with. You'll have to hope you can use the wayback machine, or a good old exact search to turn up what video that ID actually referred to
>>
anddiff
also work on the latest version of Powershell, so all of your instructions should work on both Linux and Windows.Ah, nice! I tried to avoid powershell while on windows, so don't know much about it.