Debian Codegraph @

recipes/rushisaband.recipe

raw
1 #!/usr/bin/env python
2
3 __license__ = 'GPL v3'
4 __author__ = 'MrStefan <[email protected]>'
5
6 '''
7 www.rushisaband.com
8 '''
9
10 from calibre.web.feeds.news import BasicNewsRecipe
11
12
13 class rushisaband(BasicNewsRecipe):
14 title = 'Rushisaband'
15 __author__ = 'MrStefan <[email protected]>'
16 language = 'en_GB'
17 description = 'A blog devoted to the band RUSH and its members, Neil Peart, Geddy Lee and Alex Lifeson'
18 remove_empty_feeds = True
19 oldest_article = 7
20 max_articles_per_feed = 100
21 remove_javascript = True
22 no_stylesheets = True
23
24 keep_only_tags = []
25 keep_only_tags.append(dict(name='h4'))
26 keep_only_tags.append(dict(name='h5'))
27 keep_only_tags.append(dict(name='p'))
28
29 feeds = [('Rush is a Band', 'http://feeds2.feedburner.com/rushisaband/blog')]