ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
130.21k stars 9.82k forks source link

Supporting Old SWF Videos #27427

Open zurgeg opened 3 years ago

zurgeg commented 3 years ago

Checklist

Example URLs

Description

I would like to be able to download the SWF video player from an Internet Archive version of youtube from around 2013? If anyone can help, that would be very appreciated!

october262 commented 3 years ago

try this - youtube-dl "https://web.archive.org/web/20130309181507oe_/http://r12---sn-nx57yn7d.c.youtube.com/videoplayback?mt=1362852855&sparams=cp%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&newshard=yes&mv=m&id=816d83fd5a2d7766&source=youtube&sver=3&fexp=923119%2C914076%2C916624%2C920704%2C912806%2C902000%2C919512%2C929901%2C913605%2C925006%2C906938%2C931202%2C931401%2C908529%2C930803%2C920201%2C930101%2C930603%2C906834&ms=au&ipbits=8&ratebypass=yes&expire=1362876794&cp=U0hVR1hSVF9OTkNONV9QTFhIOlJhdmNIdFZzT21R&key=yt1&ip=207.241.237.140&itag=22&upn=wssWveJRJhg&signature=CDC8E5E99E66947C6C1E4C009AE336E96BE768C6.9C02707E1FC79BD00BF71968764F6C159A35BC2F" -o %'(title)'.50s

i had to rename the downloaded file from videoplayback to videoplayback.mp4 in order for my media player to play the file.

zurgeg commented 3 years ago

try this - youtube-dl "https://web.archive.org/web/20130309181507oe_/http://r12---sn-nx57yn7d.c.youtube.com/videoplayback?mt=1362852855&sparams=cp%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&newshard=yes&mv=m&id=816d83fd5a2d7766&source=youtube&sver=3&fexp=923119%2C914076%2C916624%2C920704%2C912806%2C902000%2C919512%2C929901%2C913605%2C925006%2C906938%2C931202%2C931401%2C908529%2C930803%2C920201%2C930101%2C930603%2C906834&ms=au&ipbits=8&ratebypass=yes&expire=1362876794&cp=U0hVR1hSVF9OTkNONV9QTFhIOlJhdmNIdFZzT21R&key=yt1&ip=207.241.237.140&itag=22&upn=wssWveJRJhg&signature=CDC8E5E99E66947C6C1E4C009AE336E96BE768C6.9C02707E1FC79BD00BF71968764F6C159A35BC2F" -o %'(title)'.50s

i had to rename the downloaded file from videoplayback to videoplayback.mp4 in order for my media player to play the file.

@october262 Sorry for the late response but where on the page did you find it? Searching it on the HTML page doesn't do anything

rautamiekka commented 3 years ago

try this - youtube-dl "https://web.archive.org/web/20130309181507oe_/http://r12---sn-nx57yn7d.c.youtube.com/videoplayback?mt=1362852855&sparams=cp%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&newshard=yes&mv=m&id=816d83fd5a2d7766&source=youtube&sver=3&fexp=923119%2C914076%2C916624%2C920704%2C912806%2C902000%2C919512%2C929901%2C913605%2C925006%2C906938%2C931202%2C931401%2C908529%2C930803%2C920201%2C930101%2C930603%2C906834&ms=au&ipbits=8&ratebypass=yes&expire=1362876794&cp=U0hVR1hSVF9OTkNONV9QTFhIOlJhdmNIdFZzT21R&key=yt1&ip=207.241.237.140&itag=22&upn=wssWveJRJhg&signature=CDC8E5E99E66947C6C1E4C009AE336E96BE768C6.9C02707E1FC79BD00BF71968764F6C159A35BC2F" -o %'(title)'.50s

The -o param as given's an illegal syntax: the file'll be named videoplayback, without an extension. Not only that but trying to use Command Prompt (or in my case ConEmu) will fatally error out, while PowerShell (7.1.1.0 in my case) accepted it.

I wish I could say what the correct syntax is to make that behave correctly, however.