initial commit
This commit is contained in:
8
example2.py
Normal file
8
example2.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import feedparser
|
||||
|
||||
feed = feedparser.parse("https://news.google.com/rss/search?q=mathematics")
|
||||
|
||||
for entry in feed.entries[:5]:
|
||||
print(entry.title)
|
||||
print(entry.link)
|
||||
print("-" * 40)
|
||||
Reference in New Issue
Block a user