<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>My Learnings - Markish Personal Blog &#187; Script to download videos</title>
	<atom:link href="http://markish.in/tag/script-to-download-videos/feed/" rel="self" type="application/rss+xml" />
	<link>http://markish.in</link>
	<description>It&#039;s my Blog....!</description>
	<lastBuildDate>Sun, 11 Jul 2010 07:49:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Download YouTube Videos easily…</title>
		<link>http://markish.in/2008/09/download-youtube-videos-easily%e2%80%a6/</link>
		<comments>http://markish.in/2008/09/download-youtube-videos-easily%e2%80%a6/#comments</comments>
		<pubDate>Wed, 24 Sep 2008 07:03:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Code for Fun]]></category>
		<category><![CDATA[Internet Technology]]></category>
		<category><![CDATA[Download list of Youtube Videos]]></category>
		<category><![CDATA[Download Youtube Video]]></category>
		<category><![CDATA[Markish]]></category>
		<category><![CDATA[Script to download videos]]></category>
		<category><![CDATA[XMLHttp]]></category>

		<guid isPermaLink="false">http://markishonline.com/2008/09/24/download-youtube-videos-easily%e2%80%a6/</guid>
		<description><![CDATA[<p>    YouTube, what I need to say more on this website? Anyhow for those who are unaware of it (if any!), this website provides streaming videos to the visitors. Anyone can upload and share their videos. Many number of times when watching a video, we love it to have offline as well. We search for the [...]]]></description>
			<content:encoded><![CDATA[<p>    YouTube, what I need to say more on this website? Anyhow for those who are unaware of it (if any!), this website provides streaming videos to the visitors. Anyone can upload and share their videos. Many number of times when watching a video, we love it to have offline as well. We search for the &#8216;download video&#8217; link in the page. Oops, you won&#8217;t find it. YouTube supports only streaming of videos.
</p>
<p><span id="more-85"></span></p>
<p>    You need to be online to watch a video from YouTube. It also supports buffering. That&#8217;s the video can be buffered when connected to the internet and watched offline. (This has helped me to watch so many videos when I&#8217;m not connected). But the pain part is if you close the browser, the buffered content is lost. You again have to connect to internet to watch the same video clip.
</p>
<p>    Why not we download it and have it offline? I googled and found some websites that provide this service. You tell them the video you need, they give you the download link after sometime. You can download it. But you get this service at the cost of advertisements and annoying popups. There is a plug-in available for Firefox users. Still IE users don&#8217;t have any options. All I wanted was to download many video clips in a single shot. The only option was to code myself!
</p>
<p>    I chose VBscript as I don&#8217;t need any more software installation necessary for this to run. Almost all the Windows comes with the scripting support. Hence I can run my VBscript anywhere even in the Cyber-cafes.  It supports two switches currently. Either I can directly supply the list of URLs of videos I want when I&#8217;m calling it or I can provide a text file with list of URLs. Something like
</p>
<p style="text-align: center"><img src="http://markish.in/wp-content/uploads/2008/09/092408-0700-downloadyou1.png" alt=""/>
	</p>
<p>When you call the script with &#8216;U&#8217; switch you can provide the URLs directly. Something like
</p>
<p><span style="color:#00b050"><em>YT_DL.VBS U http://www.youtube.com/watch?v=kMYw8SodMWQ, <a href="http://www.youtube.com/watch?v=hRMyR8BJ74A">http://www.youtube.com/watch?v=hRMyR8BJ74A</a><br />
			</em></span></p>
<p>When you call the script with &#8216;F&#8217; switch you can just provide a path to text file which contains the list of URLs<span style="color:#00b050"><br />
		</span></p>
<p><span style="color:#00b050"><em>    YT_DL.VBS F url_list.txt<br />
</em></span></p>
<p><em>    </em>The main advantage of the script is that you can just create a list of videos you want and put in a text file and pass it on to the script with &#8216;F&#8217; switch. It downloads and saves them in the same folder with the title of the videos as the file names. You are done with a single command. No waiting, No popup and it can run on your background. You need not even bother about it.
</p>
<p>    <span style="color:red">Please note</span>, when you running this script for the first time, you will (most probably) get an error message stating, &#8220;msxml3.dll: Access is denied&#8221;. Don&#8217;t worry, it&#8217;s a security catch. You need to add <a href="http://youtube.com">http://youtube.com</a> to your list of trusted sites. For this go to the &#8216;Internet options <span style="font-family:Wingdings">à</span>Security tab<span style="font-family:Wingdings">à</span> select Trusted and click the &#8216;Sites..&#8217; button. There you add <a href="http://youtube.com">http://youtube.com</a>. Now run your script. You won&#8217;t have any issues.
</p>
<p>    Once downloaded, you can play those .FLV files using FLV players available over the web for free. You can download one from <a href="http://www.applian.com/flvplayer/">here</a>. Hope you find this script useful. You can use it and modify it in the way you want. If you have any issues or suggestions, please let me know. Have fun and do share your comments here.
</p>
<p>The script can be downloaded <a href="http://www.markishonline.com/downloads/YT_dl.zip">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://markish.in/2008/09/download-youtube-videos-easily%e2%80%a6/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
