Newest youtube downloader that works!

Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
24 posts Page 1 of 3
User avatar
Proprogrammer
VIP - Donator
VIP - Donator
Posts: 415
Joined: Sun Oct 03, 2010 11:14 pm

Yes i did make this and it works! :mrgreen: :mrgreen: :mrgreen:
Give me some + rep! NOW!!!!
or just give me a good comment. i didnt copy from anyone i just was studying javascript alot, no videos on youtube yet about this!

you can incorperate this method into downloading mp4's, this method is just for .flv, but you can change it.

Ok first you must have a webbrowser and a 2 textboxes, also 2 buttons. one for loading the video and one for downloading it!

button1_click event
Code: Select all
webbrowser1.Navigate (textbox1.text) 
button2_click event
Code: Select all
webbrowser1.Navigate (textbox2.text)

textbox2's text should equal to ................................... (drum roll)

Ta Da!........

javascript:isIE=/*@cc_on!@*/false;isIE ? swfHTML=document.getElementById('movie_player').getElementsByTagName('param')[1].value:swfHTML=document.getElementById("movie_player").getAttribute("flashvars");w=swfHTML.split("&"); for(i=0;i<=w.length-1;i++) if(w.split("=")[0] == "fmt_url_map"){links=unescape(w.split("=")[1]);break;}abc = links.split(",");for(i=0;i<=abc.length-1;i++){fmt=abc.split("|")[0];if(fmt==5){url = abc.split("|")[1];window.location.href = url;}}



YEAH!!!!
------------------------------------------------------------------------------
Proprogrammer, not just a Programmer.
User avatar
MrBrockWalker
VIP - Donator
VIP - Donator
Posts: 171
Joined: Mon Jul 05, 2010 10:30 am

This would be awesome if you combine it with a video converter so it would convert it after you download it cooll;
Visit BW Photography and check out my photos!
User avatar
zachman61
VIP - Donator
VIP - Donator
Posts: 1892
Joined: Wed Dec 16, 2009 9:56 pm

video converters are hard
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that :)
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

the command line ones are easy
User avatar
iLenkaa
Top Poster
Top Poster
Posts: 170
Joined: Mon Nov 01, 2010 1:17 pm

Uhmn :P Hi
I'm very noob, so don't call me stupid (because I don't care).
But where does the:
Code: Select all
javascript:isIE=/*@cc_on!@*/false;isIE ? swfHTML=document.getElementById('movie_player').getElementsByTagName('param')[1].value:swfHTML=document.getElementById("movie_player").getAttribute("flashvars");w=swfHTML.split("&"); for(i=0;i<=w.length-1;i++) if(w[i].split("=")[0] == "fmt_url_map"){links=unescape(w[i].split("=")[1]);break;}abc = links.split(",");for(i=0;i<=abc.length-1;i++){fmt=abc[i].split("|")[0];if(fmt==5){url = abc[i].split("|")[1];window.location.href = url;}}

belongs? :P
I don't really get it. cryer;

iLenkaa
Image
Image
Image
Image
Image
Image
User avatar
RunarM
Hardcore Programmer
Hardcore Programmer
Posts: 508
Joined: Wed Nov 18, 2009 11:33 pm

iLenkaa wrote:
Uhmn :P Hi
I'm very noob, so don't call me stupid (because I don't care).
But where does the:
Code: Select all
javascript:isIE=/*@cc_on!@*/false;isIE ? swfHTML=document.getElementById('movie_player').getElementsByTagName('param')[1].value:swfHTML=document.getElementById("movie_player").getAttribute("flashvars");w=swfHTML.split("&"); for(i=0;i<=w.length-1;i++) if(w[i].split("=")[0] == "fmt_url_map"){links=unescape(w[i].split("=")[1]);break;}abc = links.split(",");for(i=0;i<=abc.length-1;i++){fmt=abc[i].split("|")[0];if(fmt==5){url = abc[i].split("|")[1];window.location.href = url;}}

belongs? :P
I don't really get it. cryer;

iLenkaa
Textbox2.text should be:
Code: Select all
javascript:isIE=/*@cc_on!@*/false;isIE ? swfHTML=document.getElementById('movie_player').getElementsByTagName('param')[1].value:swfHTML=document.getElementById("movie_player").getAttribute("flashvars");w=swfHTML.split("&"); for(i=0;i<=w.length-1;i++) if(w[i].split("=")[0] == "fmt_url_map"){links=unescape(w[i].split("=")[1]);break;}abc = links.split(",");for(i=0;i<=abc.length-1;i++){fmt=abc[i].split("|")[0];if(fmt==5){url = abc[i].split("|")[1];window.location.href = url;}}
Just another day in my life.
http://www.codexvideos.com
User avatar
Usman55
VIP - Site Partner
VIP - Site Partner
Posts: 2821
Joined: Thu Dec 24, 2009 7:52 pm

Great! I'll try it.
Image
User avatar
Napster1488
VIP - Donator
VIP - Donator
Posts: 524
Joined: Fri Jan 07, 2011 8:41 pm

Hi ,
i just tried this Script and it works good.
but how to change to download as mp4 ?
and ehmm always when i download a video with it the quality is really bad.
YouTube Downloader v3.0
Image
Image
Image
User avatar
Proprogrammer
VIP - Donator
VIP - Donator
Posts: 415
Joined: Sun Oct 03, 2010 11:14 pm

Sorry but make textbox3 and then put that code there, then make a button to activate the code/lanch it after gone to the youtube url.
------------------------------------------------------------------------------
Proprogrammer, not just a Programmer.
User avatar
Napster1488
VIP - Donator
VIP - Donator
Posts: 524
Joined: Fri Jan 07, 2011 8:41 pm

but how i can make that i can download the file as mp4 and with better quality ?
thanks in advance
YouTube Downloader v3.0
Image
Image
Image
24 posts Page 1 of 3
Return to “Tutorials”