Script to Download TED Videos in Bulk

I recently became addicted to TED Videos. This inspired me to create a simple python script which helps one download TED Talks in bulk. Here is the main part of the script. Scroll down for download link and usage instructions.

#! /usr/bin/python

# Name: TED Video Downloader
# Version: 0.4
# Summary: A bulk TED Talks download tool
# License: BSD
# Author: Pranav Ashok
# Author-email:
# Author-homepage:
# Support:
# Support: Twitter (@pranavashok)

from BeautifulSoup import BeautifulSoup
from urllib2 import urlopen
import re
import os
import sys

f = open(sys.argv[1], 'r')
for link in f:
	web = urlopen(link)
	soup = BeautifulSoup(
	wholeTag = soup.find(href=re.compile(""))

	name = os.path.basename(link)
	fileName, fileExt = os.path.splitext(name)
	outputFile = fileName+".mp4"

	# wholeTag['href'] gives the value of the href attribute
	downloadUrl = wholeTag['href']

	w = open('', 'a')
	w.write('wget -c -O \"%s\" \"%s\"\n' % (outputFile, downloadUrl))

Continue reading Script to Download TED Videos in Bulk

Creating a WordPress Sandbox - Installing WordPress Locally

Here's a video I created an hour ago. Basically, it guides you in creating a wordpress sandbox to test your themes/plugins and other features of wordpress.

You'll need to download:
1. WAMPServer 2 from and;
2. WordPress from

I'm planning to create more tutorial videos. Please give your suggestions, if any.

Saving YouTube Videos from Firefox Cache

This was first posted in my old, dead blog Jazzed Up! on Mar 24, 2008 1:44 PM

This article tells your how to download videos, not only from YouTube, but also from other video sharing sites using Firefox. I’ll be considering only YouTube here. The procedure will be the same for any streaming media.

Note (07 Jul, 2009): Though this is a very cool trick, right now, I personally use Internet Download Manager with it's integrated browser add-ons for downloading embedded stuff (including flash, videos and audio).

Note for linux users: See this comment by Binny V A

Step 1: Go to YouTube and play the video you want to download.

Step 2: After the video has loaded, open a new tab (Ctrl + T) or a new Firefox window and type


in the address bar.

Copy the location of the Continue reading Saving YouTube Videos from Firefox Cache