Skip to content

Instantly share code, notes, and snippets.

View nixmaniack's full-sized avatar

Muneeb Shaikh nixmaniack

View GitHub Profile
@nixmaniack
nixmaniack / ai-class.py
Created November 30, 2011 19:54
Download lecture videos of ai-class (with Subtitles) (Stanford)
#!/usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = "Deepak.G.R."
__license__ = 'Public Domain'
"""
usage:
Go to command line and type
python ai-class.py "topic-name"
@nixmaniack
nixmaniack / README
Created November 30, 2011 20:07 — forked from mrspeaker/README
AI Class playlist generator
These are the scripts I use to create the playlists for the AI Class (available here: http://www.mrspeaker.net/2011/10/26/ai-class-playlists/). It's not pretty, but it works. I put them up here due to popular demand.
The first stage is to grab the video list HTML from YouTube and extract/sort the videos. This is done with the Video_ID_scraper.html file (instructions there).
Next, paste the video info into the YouTube_Playlist_Uploader.py script and it generates the playlist. It relies on the GData APIs so you need a dev key etc.
Any questions to [email protected]