mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #2520 (San Francisco Chronicle Feed causes Sony PSR700 to Reset)
This commit is contained in:
parent
cd648cad29
commit
aefd75f69f
@ -12,19 +12,19 @@ class SanFranciscoChronicle(BasicNewsRecipe):
|
|||||||
title = u'San Francisco Chronicle'
|
title = u'San Francisco Chronicle'
|
||||||
__author__ = u'Darko Miletic'
|
__author__ = u'Darko Miletic'
|
||||||
description = u'San Francisco news'
|
description = u'San Francisco news'
|
||||||
language = _('English')
|
language = _('English')
|
||||||
oldest_article = 7
|
oldest_article = 7
|
||||||
max_articles_per_feed = 100
|
max_articles_per_feed = 100
|
||||||
no_stylesheets = True
|
no_stylesheets = True
|
||||||
use_embedded_content = False
|
use_embedded_content = False
|
||||||
|
|
||||||
keep_only_tags = [dict(name='td' , attrs={'class':'column1 w627'})]
|
remove_tags_before = {'class':'articleheadings'}
|
||||||
remove_tags_after = dict(name='div', attrs={'id':'articlecontent' })
|
remove_tags_after = dict(name='div', attrs={'id':'articlecontent' })
|
||||||
remove_tags = [
|
remove_tags = [
|
||||||
dict(name='div', attrs={'class':'tools tools_top'})
|
dict(name='div', attrs={'class':'tools tools_top'})
|
||||||
,dict(name='div', attrs={'id':'articlebox' })
|
,dict(name='div', attrs={'id':'articlebox' })
|
||||||
]
|
]
|
||||||
|
|
||||||
feeds = [
|
feeds = [
|
||||||
(u'Top News Stories', u'http://www.sfgate.com/rss/feeds/news.xml')
|
(u'Top News Stories', u'http://www.sfgate.com/rss/feeds/news.xml')
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user