mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-07 09:01:38 -04:00
Update Providence Journal
This commit is contained in:
parent
ebd88589f4
commit
813545a8dc
@ -4,27 +4,20 @@ class ProvidenceJournal(BasicNewsRecipe):
|
||||
title = u'Providence Journal'
|
||||
language = 'en'
|
||||
__author__ = 'Krittika Goyal'
|
||||
oldest_article = 7 #days
|
||||
oldest_article = 7 # days
|
||||
max_articles_per_feed = 25
|
||||
|
||||
no_stylesheets = True
|
||||
remove_tags_before = dict(name='span', attrs={'class':'vitstorybody'})
|
||||
#remove_tags_after = dict(name='td', attrs={'class':'newptool1'})
|
||||
remove_tags = [
|
||||
dict(name='iframe'),
|
||||
dict(name='div', attrs={'id':['storycontentright','slcgm_comments_block', 'footercontainer']}),
|
||||
#dict(name='span', text=':'),
|
||||
]
|
||||
auto_cleanup = True
|
||||
use_embedded_content = False
|
||||
|
||||
feeds = [
|
||||
('Red Sox',
|
||||
'http://www.projo.com/newskiosk/rss/projoredsox.xml'),
|
||||
('Political Scene',
|
||||
'http://www.projo.com/newskiosk/rss/projopolitical.xml'),
|
||||
('Rhode Island News',
|
||||
'http://www.projo.com/newskiosk/rss/projolocalnews.xml'),
|
||||
('Music',
|
||||
'http://www.projo.com/newskiosk/rss/projomusic.xml'),
|
||||
]
|
||||
|
||||
|
||||
('Red Sox',
|
||||
'http://www.providencejournal.com/sports/red-sox/content/?rss'),
|
||||
('Political Scene',
|
||||
'http://www.providencejournal.com/politics/political-scene/?rss'),
|
||||
('Local News',
|
||||
'http://www.providencejournal.com/breaking-news/?rss'),
|
||||
('Music',
|
||||
'http://www.providencejournal.com/features/entertainment/music/?rss'),
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user