The Little Guy Posted September 24, 2009 Share Posted September 24, 2009 I have been looking, and trying to find where youtube gets its flv files from. Does anyone know where I can see the flv file? Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted September 24, 2009 Share Posted September 24, 2009 Sure, here you go: daniel@youtube42 ~ $ ls /var/disk546/videos9371 68468421.flv 67813131.flv 48645312.flv 45686431.flv 31684684.flv 68468421.flv 68468421.flv 45678123.flv 76432115.flv 45684877.flv 12315831.flv 98453122.flv *snip* Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted September 24, 2009 Author Share Posted September 24, 2009 Can I ask how you came up with that? is there an http link to them? Quote Link to comment Share on other sites More sharing options...
Garethp Posted September 24, 2009 Share Posted September 24, 2009 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']; Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted September 24, 2009 Author Share Posted September 24, 2009 When I do that, I just get a "file not found" Quote Link to comment Share on other sites More sharing options...
MadTechie Posted September 24, 2009 Share Posted September 24, 2009 What are you trying to do ? Quote Link to comment Share on other sites More sharing options...
Garethp Posted September 24, 2009 Share Posted September 24, 2009 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']} Quote Link to comment Share on other sites More sharing options...
MadTechie Posted September 24, 2009 Share Posted September 24, 2009 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) Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted September 25, 2009 Author Share Posted September 25, 2009 Basically I am trying to load the video into my own video player Quote Link to comment Share on other sites More sharing options...
Zane Posted September 25, 2009 Share Posted September 25, 2009 Youtube API http://code.google.com/apis/youtube/overview.html Quote Link to comment Share on other sites More sharing options...
MadTechie Posted September 25, 2009 Share Posted September 25, 2009 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 Quote Link to comment Share on other sites More sharing options...
xcoderx Posted September 25, 2009 Share Posted September 25, 2009 Incase u want this http://cyberside.eu/tube let me know Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.