There are lots of confusion to the new Youtube layout and many users are having some difficulty in saving youtube videos for several days.
Latest Update – August 8, 2011
Downloading all File Formats
http://WindowsForUs.com/Youtube/ (get the different Mp4 formats by parsing and posting the download links to the site)
OLD Updates
Around April 2, 2010 6pm eastern time, I started solving these youtube downloader problems because many users said the code doesn’t work. The thing is…. Youtube now generates a unique machine id in each computer that visited the site. Thanks Steve B. for the mail! and Mr PackMan36!
It took me 7 more hours to find the reason why.
- The users themselves is now Directly responsible for each download or archiving of youtube videos because of the new system
- There is now a clear separation or Youtube is now totally not responsible because the youtube links themselves are totally generated by the user each time it loads.
| Disclaimer Notice Again, This guide was created for educational purpose only and the author is not responsible for any illegal purposes. If you decide to save any video, use it at your own risk. Do not sell, share the downloaded videos, and create any illegal use of the guide. |
Users ask why? Realplayer KeepVid.com, SaveVid.com, downloadyoutubevideos.com, youtubedownloaderhd.com etc…
Getting ALL Available Youtube Links Manually
http://windowsforus.com/youtube/
Using the updated version of my Youtube downloaders, I’ve manage to get the links by parsing the site without any code references, by looking only in the youtube web sites.
It’s fun really….
While watching any youtube video(s), Right-Click the web page > View source > copy All and Paste the source to the link above.
All-in-one Youtube Code Downloader (updated)
Copy and Paste this code to your Browsers URL in Google Chrome, Firefox, Opera and Safari.
| 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] == "url_encoded_fmt_stream_map"){links=unescape(w[i].split("=")[1]);break;}abc = links.split(",url=");for(i=0;i<=abc.length-1;i++){fmt=abc[i].split("|")[0];if ((fmt.indexOf("hd1080") > 0) && (fmt.indexOf("mp4") > 0)){if (fmt.indexOf("rl=") > 0){url = fmt.substring(4,fmt.indexOf("fallback_host")-1);url = unescape(unescape(url));break;}else{url = fmt.substring(0,fmt.indexOf("fallback_host")-1);url = unescape(unescape(url));break;}}}combineurl = url;for(i=0;i<=abc.length-1;i++){fmt=abc[i].split("|")[0];if ((fmt.indexOf("hd720") > 0) && (fmt.indexOf("mp4") > 0)){if (fmt.indexOf("rl=") > 0){url = fmt.substring(4,fmt.indexOf("fallback_host")-1);url = unescape(unescape(url));break;}else{url = fmt.substring(0,fmt.indexOf("fallback_host")-1);url = unescape(unescape(url));break;}}}combineurl = combineurl + '|' + url;for(i=0;i<=abc.length-1;i++){fmt=abc[i].split("|")[0];if ((fmt.indexOf("mp4") > 0) && (fmt.indexOf("720") <= 0) && (fmt.indexOf("1080") <= 0)){if (fmt.indexOf("rl=") > 0){url = fmt.substring(4,fmt.indexOf("fallback_host")-1);url = unescape(unescape(url));break;}else{url = fmt.substring(0,fmt.indexOf("fallback_host")-1);url = unescape(unescape(url));break;}}}combineurl = combineurl + '|' + url;for(i=0;i<=abc.length-1;i++){fmt=abc[i].split("|")[0];if ((fmt.indexOf("flv") > 0) && (fmt.indexOf("large") <= 0) && (fmt.indexOf("medium") <= 0)){if (fmt.indexOf("rl=") > 0){url = fmt.substring(4,fmt.indexOf("fallback_host")-1);url = unescape(unescape(url));break;}else{url = fmt.substring(0,fmt.indexOf("fallback_host")-1);url = unescape(unescape(url));break;}}}combineurl = combineurl + '|' + url;combineurl = combineurl + '&title=' + ((((document.title.replace('#',' ')).replace('@',' ')).replace('*','')).replace('|',' ')).replace(':',' ');window.location.href = 'http://windowsforus.com/youtube/default.aspx?' +combineurl.substring(0, 2000); |
Or Drag this bookmarklet to your Bookmarks bar or favorites:
OLD UPDATES
javascript: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(',');window.location.href = 'http://windowsforus.com/v?' + abc;
Update: IE7 and IE8 version (Thanks Mr Patrick00 and MrPacMan36 for the conversations)
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(',');window.location.href = 'http://windowsforus.com/v?' + abc;
Right-Click this link > Add to Favorites: Get Youtube Links
Reference (Mr. Paulo of blastvolume.blogspot.com)
isIE=/*@cc_on!@*/false;isIE ? x =document.getElementById('movie_player').getElementsByTagName(“param”)[1].value:
Several hours later, Mr Paulo of blastingvolume.blogspot.com updated the code and I was laughing in my sit because we finished almost the same time but we have different way in getting the youtube url.
He’s using fmt_stream_map in Javascript and I’m using fmt_url_map to get the links using C#.
I don’t know if he knew this.
Anyway, this is my first time to see Open source code in real-time editing. I’m not yet good at javascript codes but thankfully, I successfully edited his code and create a hybrid system using C# code.
Directly Download Youtube Videos
Here’s the updated version of my youtube bookmarklets Downloaders that do not use any software and websites to get the video.
Flash and High Quality MP4 Video:
Directly Download Youtube Videos in Chrome, FireFox, Safari and Opera
HD 720P Quality
[MP4] Download and Save Youtube videos in 1280x720!
HD 1080P Quality
Open Source Youtube Video Directly Downloader
To understand the javascript code easily - check the difference between our codes
This is the initial version
| javascript: |
Reference javascript code from Paulo
| javascript: |


0 Comments:
Post a Comment