Debian Codegraph @

recipes/thedailywtf.recipe

raw
1 __license__ = 'GPL v3'
2 __copyright__ = 'Jelle van der Waa <[email protected]>'
3
4 from calibre.web.feeds.news import BasicNewsRecipe
5
6
7 class TheDailyWTF(BasicNewsRecipe):
8 title = 'The Daily WTF'
9 publisher = 'Mark Bowytz'
10 __author__ = 'Jelle van der Waa'
11 description = 'The Daily WTF is your how-not-to guide for developing software. We recount tales of disastrous development, from project management gone spectacularly bad to inexplicable coding choices.' # noqa: E501
12 category = 'software, programming'
13 cover_url = 'http://thedailywtf.com/content/images/wtf-logo.png'
14 oldest_article = 7
15 max_articles_per_feed = 100
16 remove_javascript = True
17 no_stylesheets = True
18 use_embedded_content = False
19 language = 'en'
20 remove_empty_feeds = True
21 keep_only_tags = [dict(name='h1'), dict(name='div', attrs={'class': ['article-body']})]
22 feeds = [('The Daily WTF', 'http://syndication.thedailywtf.com/TheDailyWtf')]