mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
21 lines
766 B
Plaintext
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')]
|