Jump to content

YouTube FLV


The Little Guy

Recommended Posts

Go to a YouTube video and type this into your url bar

 

javascript:window.location.href%20=%20'http://youtube.com/get_video?video_id='%20+%20swfArgs['video_id']%20+%20"&fmt=22"%20+%20"&l="%20+%20swfArgs['l']%20+%20"&sk="%20+%20swfArgs['sk']%20+%20'&t='%20+%20swfArgs['t'];

Link to comment
Share on other sites

Try this one instead

 

javascript:if(document.location.href.match(/http:\/\/[a-zA-Z\.]*youtube\.com\/watch/)){document.location.href='http://www.youtube.com/get_video?fmt='+(isHDAvailable?'22':'18')+'&video_id='+swfArgs['video_id']+'&t='+swfArgs['t']}

Link to comment
Share on other sites

Garethp's Javascript would only download the current FLV file, if you want to view the actual files then I think they would be stored outside the public access directory and are purely parsed/steamed on request.

 

I have my own version of a "YouTube Ripper", that a wrote purely because a friend asked me to fix one he found, that was badly coded. (I'll have a look for it)

Link to comment
Share on other sites

I'm about to go to bed now, so i'll fing out the code in the morning

but a quick how to

 

go to youtube load up a video, and take note of the v= in the URL

ie

http://www.youtube.com/watch?v=okoPt9WIoDQ

$V = okoPt9WIoDQ;

Then View Source and find var swfArgs

Now on that long line your find "t": after that is the token

ie

"t": "vjVQa1PpcFMUrnFuKkS6Z9g3DPHo%3D"

$Token = vjVQa1PpcFMUrnFuKkS6Z9g3DPHo%3D

$V = okoPt9WIoDQ

 

Once you have both of these, add them to the following URL

http://www.youtube.com/get_video?video_id=$V&t=$Token

 

so the final URL for the FLV is

http://www.youtube.com/get_video?video_id=okoPt9WIoDQ&t=vjVQa1PpcFMUrnFuKkS6Z9g3DPHo%3D

 

Hope that makes sence

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.