tg_rss_bot/rss.py
2022-05-29 20:18:12 +00:00

24 lines
416 B
Python

import feedparser
class FeedItem():
pass
class Feed():
def __init__(self, title: str, url: str, items: list) -> None:
self.title = title
self.url = url
self.items = items
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