BeautifulSoup is no longer a dependency!
authorDylan Lloyd <dylan@psu.edu>
Mon, 21 Feb 2011 06:41:42 +0000 (01:41 -0500)
committerDylan Lloyd <dylan@psu.edu>
Mon, 21 Feb 2011 06:41:42 +0000 (01:41 -0500)
commit9fc5c8cd64082ff27048b0ab0f1e04de77c009d0
tree0824afc0f3b113d9bdce7eb3a94bb857388a5022
parente997a5e36abd6dc2532378daed61eecdd2fcde15
BeautifulSoup is no longer a dependency!

The parsing code is now all wrapped up in search_classes.py. The two classes are inherited from HTMLParser and their objects are constructed with pandora_fetch(user) and seach_youtube(search_strings).

YouTube has changed the way it formats its results pages, and the code now reflects the new layout.

BeautifulSoup is no longer a dependency!

HTMLParser is signifigantly faster than BeautifulSoup. While the true bottleneck is video download time, the change is still noticable.
README
doit.py [deleted file]
htmlparse.py [deleted file]
likes_pandora.py
search_classes.py [new file with mode: 0755]
youtube.py [deleted file]