mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Orlando Sentinel by rty
This commit is contained in:
parent
01d5dcff6f
commit
fcdc320a33
38
resources/recipes/orlando_sentinel.recipe
Normal file
38
resources/recipes/orlando_sentinel.recipe
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
class AdvancedUserRecipe1279258912(BasicNewsRecipe):
|
||||||
|
title = u'Orlando Sentinel'
|
||||||
|
oldest_article = 3
|
||||||
|
max_articles_per_feed = 100
|
||||||
|
|
||||||
|
feeds = [
|
||||||
|
(u'News', u'http://feeds.feedburner.com/orlandosentinel/news'),
|
||||||
|
(u'Opinion', u'http://feeds.feedburner.com/orlandosentinel/news/opinion'),
|
||||||
|
(u'Business', u'http://feeds.feedburner.com/orlandosentinel/business'),
|
||||||
|
(u'Technology', u'http://feeds.feedburner.com/orlandosentinel/technology'),
|
||||||
|
(u'Space and Science', u'http://feeds.feedburner.com/orlandosentinel/news/space'),
|
||||||
|
(u'Entertainment', u'http://feeds.feedburner.com/orlandosentinel/entertainment'),
|
||||||
|
(u'Life and Family', u'http://feeds.feedburner.com/orlandosentinel/features/lifestyle'),
|
||||||
|
]
|
||||||
|
__author__ = 'rty'
|
||||||
|
pubisher = 'OrlandoSentinel.com'
|
||||||
|
description = 'Orlando, Florida, Newspaper'
|
||||||
|
category = 'News, Orlando, Florida'
|
||||||
|
|
||||||
|
|
||||||
|
remove_javascript = True
|
||||||
|
use_embedded_content = False
|
||||||
|
no_stylesheets = True
|
||||||
|
language = 'en'
|
||||||
|
encoding = 'utf-8'
|
||||||
|
conversion_options = {'linearize_tables':True}
|
||||||
|
masthead_url = 'http://www.orlandosentinel.com/media/graphic/2009-07/46844851.gif'
|
||||||
|
keep_only_tags = [
|
||||||
|
dict(name='div', attrs={'class':'story'})
|
||||||
|
]
|
||||||
|
remove_tags = [
|
||||||
|
dict(name='div', attrs={'class':['articlerail','tools','comment-group','clearfix']}),
|
||||||
|
]
|
||||||
|
remove_tags_after = [
|
||||||
|
dict(name='p', attrs={'class':'copyright'}),
|
||||||
|
]
|
Loading…
x
Reference in New Issue
Block a user