Python RSS 크롤링

2039 단어 pythonpython

RSS 크롤링

import feedparser

url = "http://bepolar.tistory.com/rss"

d = feedparser.parse(url)
print(d.feed['title'])
for e in d.entries:
    print("Title : " + e.title)
    print("Link : " + e.link)
    print("Description : " + e.description)
    print("Published : " + str(e.published))

좋은 웹페이지 즐겨찾기