<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Discussion on Download ANY Video from YouTube | Userscripts.org</title>
    <link>http://userscripts.org/scripts/show/28937</link>
    <description>Recent comments on userscript: Download ANY Video from YouTube</description>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>Archived Comments, replied by KayKay @ Sat, 28 Jun 2008 13:38:22 -0500</title>
      <description>&lt;p&gt;There is no need to improve my script??! Just a simple copy! (&lt;b&gt;You may rename MY variable names, at least!! Buffoon!&lt;/b&gt;)&lt;/p&gt;

&lt;p&gt;Same script (with auto-update + multilingual + multi format support [mp4, aswell as high quality flv + normal flv!!]):
&lt;br /&gt;&lt;a href=&quot;http://userscripts.org/scripts/show/28918&quot;&gt;http://userscripts.org/scripts/show/28918&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 28 Jun 2008 13:38:22 -0500</pubDate>
      <guid isPermaLink="false">userscripts.org:14456:52912</guid>
      <author>KayKay</author>
      <link>http://userscripts.org/topics/14456</link>
    </item>
    <item>
      <title>Archived Comments, replied by Brandyn @ Wed, 25 Jun 2008 21:05:38 -0500</title>
      <description>&lt;p&gt;My script should work now.&lt;/p&gt;</description>
      <pubDate>Wed, 25 Jun 2008 21:05:38 -0500</pubDate>
      <guid isPermaLink="false">userscripts.org:14456:52913</guid>
      <author>Brandyn</author>
      <link>http://userscripts.org/topics/14456</link>
    </item>
    <item>
      <title>Archived Comments, replied by fungo @ Wed, 25 Jun 2008 16:24:39 -0500</title>
      <description>&lt;p&gt;Or... you could use this script, which does work:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://userscripts.org/scripts/show/28178&quot;&gt;http://userscripts.org/scripts/show/28178&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 25 Jun 2008 16:24:39 -0500</pubDate>
      <guid isPermaLink="false">userscripts.org:14456:52914</guid>
      <author>fungo</author>
      <link>http://userscripts.org/topics/14456</link>
    </item>
    <item>
      <title>Archived Comments, replied by Booboo @ Tue, 24 Jun 2008 21:04:36 -0500</title>
      <description>&lt;p&gt;Hi people,&lt;/p&gt;

&lt;p&gt;I've done the same as you, but i looked behind the scenes so there were some problems in the code, i've tried to sove:&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;
// ==UserScript==
// @name          Download ANY Video from YouTube
// @namespace     http://userscripts.org/users/37550
// @description   adds a link to download flv from You Tube
// @source        http://userscripts.org/scripts/show/28937
// @identifier    http://userscripts.org./scripts/source/28937.user.js
// @version     5
// @date          2008-06-62
// @creator       Sn1p1ng Guy117
// @include       *youtube.*/*v=*
// ==/UserScript==



 var download_url = 'http://www.youtubemp4.com/video/';
 var playerDiv = document.getElementById('movie_player');
 var flashvars = document.evaluate(&quot;attribute::flashvars&quot;, playerDiv, null, XPathResult.STRING_TYPE, null).stringValue;
 var video_id = flashvars.match(/video_id=([^(\&amp;amp;|$)]*)/)[1];
 var video_format = '.mp4'; 
 var video_url = download_url + video_id + video_format;

function getEl(w){
	return document.getElementById(w);
}



autoupdate();
       desc = getEl(&quot;watch-views-div&quot;);
       descP = desc.parentNode;
       dv = document.createElement(&quot;a&quot;);
       dv.innerHTML=&quot;&lt;span&gt; Download MP4 &lt;/span&gt;&quot;;
       dv.setAttribute(&quot;rel&quot;, &quot;nofollow&quot;);
       dv.setAttribute(&quot;class&quot;, &quot;actionLink&quot;);
       dv.href=video_url;
       descP.insertBefore(dv, desc);

function autoupdate() {
var day = GM_getValue('day');
if(day == undefined){
	GM_setValue('day',new Date().getDay());
}else{
	if(day != new Date().getDay()){

		GM_xmlhttpRequest({
			method:&quot;GET&quot;,
			url:'http://userscripts.org./scripts/source/28937.user.js',
			onload:function(result) {
				if (result.responseText.indexOf('@version     1') == -1) {
					var div = document.createElement(&quot;div&quot;);
			div.setAttribute(&quot;style&quot;, &quot;background-color: #00FF00;&quot;);
					div.appendChild(document.createTextNode('There is a new version of the &quot;Download ANY Video from YouTube&quot; userscript.'));
					div.appendChild(document.createElement(&quot;br&quot;));

					var a1 = document.createElement(&quot;a&quot;);
					a1.setAttribute(&quot;href&quot;, &quot;http://userscripts.org/scripts/source/28937.user.js&quot;);
					a1.appendChild(document.createTextNode('Click here to install the script update'));
					div.appendChild(a1);

					document.body.insertBefore(div, document.body.firstChild);
			GM_setValue('version',version + 1);
				}
			}
		});
		GM_setValue('day',new Date().getDay());
	}else{

	}
	}
}
&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;I don't guaranty anything but the syntax errors are gone. ;)&lt;/p&gt;</description>
      <pubDate>Tue, 24 Jun 2008 21:04:36 -0500</pubDate>
      <guid isPermaLink="false">userscripts.org:14456:52915</guid>
      <author>Booboo</author>
      <link>http://userscripts.org/topics/14456</link>
    </item>
    <item>
      <title>Archived Comments, replied by fungo @ Tue, 24 Jun 2008 14:47:35 -0500</title>
      <description>&lt;p&gt;Ditto for me - I've installed and re-installed, but never see the &quot;Download MP4&quot; link. Too bad... this sounds like exactly the script I wanted. I've got very little use for low-res FLVs, but would love a quick and easy way to grab the MP4s.&lt;/p&gt;</description>
      <pubDate>Tue, 24 Jun 2008 14:47:35 -0500</pubDate>
      <guid isPermaLink="false">userscripts.org:14456:52916</guid>
      <author>fungo</author>
      <link>http://userscripts.org/topics/14456</link>
    </item>
    <item>
      <title>Archived Comments, replied by JoeSimmons @ Mon, 23 Jun 2008 22:33:06 -0500</title>
      <description>&lt;p&gt;Np. By the way Author, your include should be correctly put as  &lt;a href=&quot;http://*youtube.com/watch?=v&quot;&gt;http://*youtube.com/watch?=v&lt;/a&gt;*&lt;/p&gt;

&lt;p&gt;Script isn't even working now, at all, no matter how many times I re-install.&lt;/p&gt;</description>
      <pubDate>Mon, 23 Jun 2008 22:33:06 -0500</pubDate>
      <guid isPermaLink="false">userscripts.org:14456:52917</guid>
      <author>JoeSimmons</author>
      <link>http://userscripts.org/topics/14456</link>
    </item>
    <item>
      <title>Archived Comments, replied by KayKay @ Mon, 23 Jun 2008 13:09:27 -0500</title>
      <description>&lt;p&gt;Oh! ^^ Sry for that one dude... I missunderstood! ;-D&lt;/p&gt;

&lt;p&gt;Yea... looks like that... Well... just use...
&lt;br /&gt;&lt;a href=&quot;http://userscripts.org/scripts/show/28918&quot;&gt;http://userscripts.org/scripts/show/28918&lt;/a&gt;
&lt;br /&gt;Now available in over 10 languages! :-)&lt;/p&gt;</description>
      <pubDate>Mon, 23 Jun 2008 13:09:27 -0500</pubDate>
      <guid isPermaLink="false">userscripts.org:14456:52918</guid>
      <author>KayKay</author>
      <link>http://userscripts.org/topics/14456</link>
    </item>
    <item>
      <title>Archived Comments, replied by JoeSimmons @ Mon, 23 Jun 2008 10:38:54 -0500</title>
      <description>&lt;p&gt;Not yours. His.&lt;/p&gt;</description>
      <pubDate>Mon, 23 Jun 2008 10:38:54 -0500</pubDate>
      <guid isPermaLink="false">userscripts.org:14456:52919</guid>
      <author>JoeSimmons</author>
      <link>http://userscripts.org/topics/14456</link>
    </item>
    <item>
      <title>Archived Comments, replied by KayKay @ Mon, 23 Jun 2008 01:28:45 -0500</title>
      <description>&lt;p&gt;Yea... For sure! If my script was uploaded first, it has to be a copy!?! *eye-roll*&lt;/p&gt;

&lt;p&gt;FLV because not all videos are available as mp4!&lt;/p&gt;</description>
      <pubDate>Mon, 23 Jun 2008 01:28:45 -0500</pubDate>
      <guid isPermaLink="false">userscripts.org:14456:52920</guid>
      <author>KayKay</author>
      <link>http://userscripts.org/topics/14456</link>
    </item>
    <item>
      <title>Archived Comments, replied by JoeSimmons @ Sun, 22 Jun 2008 17:42:28 -0500</title>
      <description>&lt;p&gt;haha yea script copy. and this isn't mp4 format, it's flv....&lt;/p&gt;</description>
      <pubDate>Sun, 22 Jun 2008 17:42:28 -0500</pubDate>
      <guid isPermaLink="false">userscripts.org:14456:52921</guid>
      <author>JoeSimmons</author>
      <link>http://userscripts.org/topics/14456</link>
    </item>
    <item>
      <title>Archived Comments, replied by KayKay @ Sun, 22 Jun 2008 13:47:17 -0500</title>
      <description>&lt;p&gt;&lt;b&gt;Same script (with auto-update + multilingual) already exists at:&lt;/b&gt;
&lt;br /&gt;&lt;a href=&quot;http://userscripts.org/scripts/show/28918&quot;&gt;http://userscripts.org/scripts/show/28918&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 22 Jun 2008 13:47:17 -0500</pubDate>
      <guid isPermaLink="false">userscripts.org:14456:52922</guid>
      <author>KayKay</author>
      <link>http://userscripts.org/topics/14456</link>
    </item>
    <item>
      <title>Archived Comments, replied by Hot Soup0 @ Sun, 22 Jun 2008 13:15:48 -0500</title>
      <description>&lt;p&gt;Whereabouts should this link be?  I've installed it three times total, haven't seen it yet...&lt;/p&gt;

&lt;p&gt;*EDIT*  Whooops, found it.&lt;/p&gt;</description>
      <pubDate>Sun, 22 Jun 2008 13:15:48 -0500</pubDate>
      <guid isPermaLink="false">userscripts.org:14456:52923</guid>
      <author>Hot Soup0</author>
      <link>http://userscripts.org/topics/14456</link>
    </item>
    <item>
      <title>Archived Comments, replied by Brandyn @ Sun, 22 Jun 2008 12:28:53 -0500</title>
      <description>&lt;p&gt;Some users report this as not displaying the download link, if this happens reinstall.&lt;/p&gt;</description>
      <pubDate>Sun, 22 Jun 2008 12:28:53 -0500</pubDate>
      <guid isPermaLink="false">userscripts.org:14456:52924</guid>
      <author>Brandyn</author>
      <link>http://userscripts.org/topics/14456</link>
    </item>
    <item>
      <title>Archived Comments, replied by Jesse Andrews @ Tue, 16 Nov 2004 19:05:21 -0600</title>
      <description>&lt;p&gt;The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)&lt;/p&gt;</description>
      <pubDate>Tue, 16 Nov 2004 19:05:21 -0600</pubDate>
      <guid isPermaLink="false">userscripts.org:14456:52911</guid>
      <author>Jesse Andrews</author>
      <link>http://userscripts.org/topics/14456</link>
    </item>
  </channel>
</rss>
