Home RSS 크롤링
Post
Cancel

Python › RSS 크롤링

RSS 크롤링

RSS 크롤링

1
2
3
4
5
6
7
8
9
10
11
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))
❤ Recent Post
❤ How About This
❤ Visitor Counter