Debian Codegraph @

recipes/coda.recipe

raw
1 #!/usr/bin/env python
2 # vim:fileencoding=utf-8
3
4 from calibre.web.feeds.news import BasicNewsRecipe
5
6
7 class Coda(BasicNewsRecipe):
8 title = 'Coda'
9 __author__ = 'bugmen00t'
10 description = 'Coda Story reports on major currents shaping our world from disinformation to authoritarian technologies to the war on science. Coda stays on these stories to reveal why they matter, how they are connected and where they are heading next.' # noqa: E501
11 publisher = 'Natalia Antelava & Ilan Greenberg'
12 category = 'blog'
13 cover_url = 'https://www.codastory.com/wp-content/uploads/2021/05/AT_thumbnail_512x512.png'
14 language = 'en_RU'
15 no_stylesheets = False
16 remove_javascript = False
17 auto_cleanup = False
18 oldest_article = 180
19 max_articles_per_feed = 50
20
21 remove_tags_before = dict(name='div', attrs={'class': 'article'})
22
23 remove_tags_after = dict(name='div', attrs={'class': 'article'})
24
25 remove_tags = [dict(name='li', attrs={'class': 'material-meta__type'}), dict(name='div', attrs={'class': 'more'})]
26
27 feeds = [('CODA', 'https://www.codastory.com/feed/')]