RSS module #19

Merged
Miroslavsckaya merged 8 commits from feature_rss into master 2022-05-29 20:13:40 +00:00
2 changed files with 21 additions and 0 deletions
Showing only changes of commit 7361e449b3 - Show all commits

View file

@ -4,3 +4,4 @@ idna==3.3
pyTelegramBotAPI==4.5.0
requests==2.27.1
urllib3==1.26.9
feedparser==6.0.2

20
rss.py Normal file
View file

@ -0,0 +1,20 @@
import feedparser
class FeedItem():
pass
class Feed():
pass
class RssReader():
def convert_to_FeedItem(self, item: dict) -> FeedItem:
pass
def get_items(self, items: list) -> list:
pass
def get_feed(self, url: str) -> Feed:
pass