calibre/recipes/npr_music_blogs.recipe
Kovid Goyal 567040ee1e Perform PEP8 compliance checks on the entire codebase
Some bits of PEP 8 are turned off via setup.cfg
2016-07-29 21:25:17 +05:30

21 lines
766 B
Plaintext

from calibre.web.feeds.news import BasicNewsRecipe
class nprmusic(BasicNewsRecipe):
title = 'NPR Music Blogs'
__author__ = 'cix3'
timefmt = ' [%b %d, %Y]'
language = 'en'
oldest_article = 30
max_articles_per_feed = 100
no_stylesheets = True
remove_tags = [dict(name='div', attrs={'id': ['logo', 'comments', 'related_objects', 'inset module',
'footer', 'strip_control', 'header', 'navigation']}), dict(name='hr'), dict(name='img')]
feeds = [
('A Blog Supreme', 'http://www.npr.org/blogs/ablogsupreme/index.xml'),
('All Songs Considered', 'http://www.npr.org/blogs/allsongs/index.xml'),
('Monitor Mix', 'http://www.npr.org/blogs/monitormix/index.xml')]