disinclined.org
/
git
/
i_like_pandora.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated README to mention BeautifulSoup, got rid of unnecessary print statement
[i_like_pandora.git]
/
likes_pandora.py
diff --git
a/likes_pandora.py
b/likes_pandora.py
index
c302d7f
..
5e376ff
100755
(executable)
--- 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'})
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
if result == None:
print 'odd feedback for search, could not find div at ', search_url
continue