create rss module, add RssReader class

This commit is contained in:
mitsuha_s 2022-05-29 20:17:03 +00:00
parent 5d4a43e2c6
commit 7361e449b3
2 changed files with 21 additions and 0 deletions

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