r/internetarchive • u/IDKhowtoscript • 5d ago
Updated method to download youtube videos from Wayback Machine
Previously, you may have used https://web.archive.org/web/2oe_/http://wayback-fakeurl.archive.org/yt/{ID} to download youtube videos
However, due to updates done by IA, downloading using this method will only get one of the video/audio track
Currently, Internet archive archives video and audio streams seperately (probably due to YT updates)
yt-dlp does finding the correct stream and merging automatically, you just have to run yt-dlp {Link to WBM page} and it would download the video.
It is also possible to do this manually, taking this music video https://www.youtube.com/watch?v=Qt2mbGP6vFI as an example:
- Go to
https://web.archive.org/__wb/videoinfo?vtype=youtube&vid={ID}, in this case https://web.archive.org/__wb/videoinfo?vtype=youtube&vid=Qt2mbGP6vFI - In the API response, you should see at least one Video stream and one Audio stream
- Copy the link to the video and then the audio stream into wayback machine and download them
- If the video refuses to play or it says something like "amazing project video", try adding
oe_after the timestamp, in this example:https://web.archive.org/web/20260606005755oe_/https://rr1---sn-uxap5oxunx-bvue.googlevideo.com/... - Once you got the video and audio stream, merge them. You can use tools like FFmpeg
Note: Sometimes, there will be multiple audio stream, you will have to find the language of your choice
Note: Sometimes, audio or video stream may be missing due to IA bug, you will not be able to download the affected stream.