From 89f2b2f1b7ddb55674e599d854938e574e31e4af Mon Sep 17 00:00:00 2001 From: Dylan Lloyd Date: Tue, 18 Jan 2011 17:15:12 -0500 Subject: [PATCH] Updated README to mention BeautifulSoup, got rid of unnecessary print statement --- README | 4 ++++ likes_pandora.py | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README b/README index 5b9513c..63fc829 100644 --- a/README +++ b/README @@ -14,6 +14,10 @@ Requires youtube-dl to be installed. follow instruction here: http://rg3.github.com/youtube-dl/ Or use your favorite package-management system to install youtube-dl. Make sure youtube-dl is up to date if there are problems by running 'youtube-dl -U'. +Also requires the BeautifulSoup module for Python, which can be found here: +http://www.crummy.com/software/BeautifulSoup/download/3.x/BeautifulSoup-3.2.0.tar.gz +To install, after extracting the archive, `cd` into the directory and `python setup.py install` to install the module. + Notifications require Nofify OSD (https://launchpad.net/notify-osd), which ships with Ubuntu. See http://www.github.com/nospampleasemam/youtube_backup for more information and the latest version. diff --git a/likes_pandora.py b/likes_pandora.py index c302d7f..5e376ff 100755 --- a/likes_pandora.py +++ b/likes_pandora.py @@ -77,7 +77,6 @@ def fetch_search_video_ids(search_strings): page = urllib.urlopen(search_url) page = BeautifulSoup(page) result = page.find('div', attrs={'class':'video-main-content'}) - print result if result == None: print 'odd feedback for search, could not find div at ', search_url continue -- 2.30.2