mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Waco Tribune Herald by rty
This commit is contained in:
parent
9a4b661ac6
commit
8a5a5e2ad1
34
resources/recipes/waco_tribune.recipe
Normal file
34
resources/recipes/waco_tribune.recipe
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
class AdvancedUserRecipe1278773519(BasicNewsRecipe):
|
||||||
|
title = u'Waco Tribune Herald'
|
||||||
|
__author__ = 'rty'
|
||||||
|
pubisher = 'A Robinson Media Company'
|
||||||
|
description = 'Waco, Texas, Newspaper'
|
||||||
|
category = 'News, Texas, Waco'
|
||||||
|
oldest_article = 7
|
||||||
|
max_articles_per_feed = 100
|
||||||
|
|
||||||
|
feeds = [
|
||||||
|
(u'News', u'http://www.wacotrib.com/news/index.rss2'),
|
||||||
|
(u'Sports', u'http://www.wacotrib.com/sports/index.rss2'),
|
||||||
|
(u'AccessWaco', u'http://www.wacotrib.com/accesswaco/index.rss2'),
|
||||||
|
(u'Opinions', u'http://www.wacotrib.com/opinion/index.rss2')
|
||||||
|
]
|
||||||
|
|
||||||
|
remove_javascript = True
|
||||||
|
use_embedded_content = False
|
||||||
|
no_stylesheets = True
|
||||||
|
language = 'en'
|
||||||
|
encoding = 'utf-8'
|
||||||
|
conversion_options = {'linearize_tables':True}
|
||||||
|
masthead_url = 'http://media.wacotrib.com/designimages/wacotrib_logo.jpg'
|
||||||
|
keep_only_tags = [
|
||||||
|
dict(name='div', attrs={'class':'twoColumn left'}),
|
||||||
|
]
|
||||||
|
remove_tags = [
|
||||||
|
dict(name='div', attrs={'class':'right blueLinks'}),
|
||||||
|
]
|
||||||
|
remove_tags_after = [
|
||||||
|
dict(name='div', attrs={'class':'dottedRule'}),
|
||||||
|
]
|
Loading…
x
Reference in New Issue
Block a user