mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
fix optyczne.pl
This commit is contained in:
parent
a65292eb46
commit
8b32fc95d4
@ -15,19 +15,16 @@ class OptyczneRecipe(BasicNewsRecipe):
|
||||
remove_empty_feeds = True
|
||||
no_stylesheets = True
|
||||
oldest_article = 7
|
||||
max_articles_per_feed = 100000
|
||||
max_articles_per_feed = 100
|
||||
recursions = 0
|
||||
|
||||
no_stylesheets = True
|
||||
remove_javascript = True
|
||||
|
||||
keep_only_tags = []
|
||||
keep_only_tags.append(dict(name='div', attrs={'class': 'news'}))
|
||||
keep_only_tags = dict(name='div', attrs={'class':'main-article-content'})
|
||||
|
||||
remove_tags = []
|
||||
remove_tags.append(dict(name='div', attrs={'class': 'center'}))
|
||||
remove_tags.append(dict(name='div', attrs={'class': 'news_foto'}))
|
||||
remove_tags.append(dict(name='div', attrs={'align': 'right'}))
|
||||
remove_tags = [dict(name='div', attrs={'class':['banner','colored','content-panel']}),
|
||||
dict(name='a', attrs={'class':'icon-link comments-link'})]
|
||||
|
||||
extra_css = '''
|
||||
body {font-family: Arial,Helvetica,sans-serif;}
|
||||
@ -38,5 +35,5 @@ class OptyczneRecipe(BasicNewsRecipe):
|
||||
.fot{font-size: x-small; color: #666666;}
|
||||
'''
|
||||
feeds = [
|
||||
('Aktualnosci', 'http://www.optyczne.pl/rss.xml'),
|
||||
(u'Aktualności', 'http://www.optyczne.pl/rss.xml'),
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user