Harvard:Biophysics 101/2007/Notebook:Denizkural/2007-5-3
From OpenWetWare
Jump to navigationJump to search
I have also got the blog results through technorati:
kural@case:~$ python Python 2.5.1c1 (release25-maint, Apr 12 2007, 21:00:25) [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import feedparser >>> d = feedparser.parse('[edit] Instructor File "<stdin>", line 1 d = feedparser.parse('[edit] Instructor ^ SyntaxError: EOL while scanning single-quoted string >>> >>> d = feedparser.parse('http://feeds.technorati.com/search/macular+degeneration?authority=a7') >>> d['feed']['title'] u'Technorati Search for: macular degeneration' >>> d.feed.description u'Technorati Keyword search for macular degeneration.' >>> d.feed.link u'http://technorati.com/search/macular+degeneration?authority=a7' >>> d.entries[0].title u'Rating the Jack Valenti Obits' >>> d.entries[0].description u'[ valenti.JPG]The nation has now had a weekend to mourn the passing of Jack Valenti, man who made possible the groundbreaking cultural artifact known as the special unrated DVD version of Turistas. Yet, beyond such obvious accomplishments, there\'s still so much more to know about the MPAA chief/L.B.J. confidante/ Napster destroyer<br /><br />Posted in <strong><a href="http://technorati.com/blogs/ http://www.gawker.com">Gawker, Manhattan Media News and Gossip</a></strong> (<a href="http://technorati.com/search/http%3A%2F%2Fwww.gawker.com"><img src="http://static.technorati.com/images/bubble_h11.gif" alt="View\n Technorati URL search" /> 98,306 links from 6,331 sites</a>) <br /><br /><img width="1" height="1" src="http://static.technorati.com/y/778232775.gif anM9MCZyZWY9L3NlYXJjaC9tYWN1bGFyK2RlZ2VuZXJhdGlvbj9hdXRob3JpdHk9YTd8MXxodHRwOi8vZ2F3 a2VyLmNvbS9uZXdzL2RlLWZhY3RvLWNlbnNvcnNoaXAvcmF0aW5nLXRoZS1qYWNrLXZhbGVudGktb2JpdHMt MjU2Mjc4LnBocCZ2aXNpdG9yaWQ9LSZ1c2VyaWQ9LSZzZXNzaW9uaWQ9LSZ1c2VyY2xhc3M9LSZhYmNsYXNz PS0mYWJzd2l0Y2g9LSZtZW1iZXI9LQ==" />' >>> d.entries[1].title u'Give me some earplugs!' >>> d.entries[1].description u'Give me some earplugs! I\u2019m turning into my grandmother with her intolerance for noise.\xa0 <strong class="keyword">Macular</strong> <strong class="keyword"> degeneration</strong> stole her sight, so she sits in one chair, mostly, listening to the silence when she isn\u2019t listening to the Bible on tape.\xa0 I hardly ever take my kids<br /><br />Posted in <strong><a href="http://technorati.com/blogs/ http://www.unretouchedphoto.com"> - Actual Unretouched Photo</a></strong> (<a href="http://technorati.com/search/http%3A%2F%2Fwww.unretouchedphoto.com"> <img src="http://static.technorati.com/images/bubble_h11.gif" alt="View\n Technorati URL search" /> 391 links from 217 sites</a>) by <a class="byline" href="http://technorati.com/profile/Melodee128" title="View Melodee128\'s profile"> Melodee128</a><br /><br /><img width="1" height="1" src="http://static.technorati.com/y/778232775.gif? anM9MCZyZWY9L3NlYXJjaC9tYWN1bGFyK2RlZ 2VuZXJhdGlvbj9hdXRob3JpdHk9YTd8MnxodHRwOi8vd3d3L nVucmV0b3VjaGVkcGhvdG8uY29tLzIwMDcvMDQvMjYvZ2l2ZS1tZS1zb21lLWVhcnBsdWdzLyZ2aXNpdG9yaW Q9LSZ1c2VyaWQ9LSZzZXNzaW9uaWQ9LSZ1c2VyY2xhc3M9LSZhYmNsYXNzPS0mYWJzd2l0Y2g9LSZtZW1iZXI9LQ==" />' >>>