Feedparser (https://pypi.org/project/feedparser/) é um pacote para python aonde é possível ler RSS (Rich Site Summary) feeds.
O pacote trabalha com RSS 0.9x, RSS 1.0, RSS 2.0, CDF, Atom 0.3, e Atom 1.0 feeds
1 2 3 4 5 6 7 8 9 10 11 12 | !pip install feedparser #using pip to download the package import feedparser NewsFeed = feedparser.parse("https://blog.cloudflare.com/rss/") print('Number of RSS posts :', len(NewsFeed.entries)) for i in range(len(NewsFeed.entries)): entry = NewsFeed.entries[i] print ('Post Title :',entry.title) |