mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
NPR Music Blogs by cix3
This commit is contained in:
parent
597352a747
commit
af57bdcba5
18
resources/recipes/npr_music_blogs.recipe
Normal file
18
resources/recipes/npr_music_blogs.recipe
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
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')]
|
Loading…
x
Reference in New Issue
Block a user