|
UniNews
University news from Greek and international universities in one place
|
Public Member Functions | |
| list[dict] | fetch_raw (self) |
Public Member Functions inherited from uninews.fetchers.base.Fetcher | |
| __init_subclass__ (cls, **kwargs) | |
| __init__ (self, str publisher, str category, dict config) | |
| str | __repr__ (self) |
| list[Article] | fetch (self) |
| requests.Response | request (self, str url) |
| str | get_html (self, str url) |
Static Public Attributes | |
| str | fetcher_type = "rss" |
Static Public Attributes inherited from uninews.fetchers.base.Fetcher | |
| ClassVar | fetcher_type = "" |
| tuple | required_keys = ("label", "url") |
| dict | registry = {} |
Additional Inherited Members | |
Public Attributes inherited from uninews.fetchers.base.Fetcher | |
| publisher | |
| category | |
| config | |
JSON keys: label, url
| list[dict] uninews.fetchers.rss.RssFetcher.fetch_raw | ( | self | ) |
Return dicts with 'title' and 'link'. Optional keys: 'published', 'summary', 'image_url'. Links and image URLs may be relative.
Reimplemented from uninews.fetchers.base.Fetcher.
|
static |