Debian Codegraph @

recipes/hackaday.recipe

raw
1 #!/usr/bin/env python
2 # vim:fileencoding=utf-8
3
4 from calibre.web.feeds.news import AutomaticNewsRecipe
5
6
7 class HackADayRecipe(AutomaticNewsRecipe):
8 __author__ = 'rui-rebelo'
9 title = 'Hack a Day'
10 description = (
11 'Hackaday is a website and community focused on hardware hacking, technology projects, and DIY electronics.'
12 ' It features daily articles about innovative projects, news, tutorials, and the latest in hardware engineering news.'
13 )
14 oldest_article = 10
15 max_articles_per_feed = 100
16 auto_cleanup = True
17 language = 'en-US'
18
19 publisher = 'Hack a Day'
20
21 feeds = [
22 ('Hack a Day', 'https://hackaday.com/blog/feed/'),
23 ]
24
25 cover_url = 'https://hackaday.com/wp-content/uploads/2020/07/hackaday-logo-with-text-opengraph-default-image.jpg'