Return to Snippet

Revision: 80640
at March 23, 2020 17:19 by chrisaiv


Updated URL
https://www.chrisjmendez.com/2008/08/09/python-basic-feedparser-example/

Updated Code
https://www.chrisjmendez.com/2008/08/09/python-basic-feedparser-example/

Updated Description
https://www.chrisjmendez.com/2008/08/09/python-basic-feedparser-example/

Revision: 8426
at September 20, 2008 16:45 by chrisaiv


Initial Code
import feedparser

d = feedparser.parse("http://feeds.delicious.com/v2/rss/twelvetone")
print d['feed']['title']
print d.feed.title
print d.feed.link

print d['items'][1].title

Initial URL


Initial Description
Using terminal, download feedparser, you can specify a specific version if preferred:  sudo easy_install "feedparser==4.1"

Once installed, create a new pythonFile.py and paste this code and Run

Initial Title
Python: Basic Feedparser example for Os X.5

Initial Tags
python

Initial Language
Python