mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
align to kalibrator - rzeczpospolita.recipe
This commit is contained in:
parent
39fc5eb4ac
commit
5a26d7ceb3
@ -34,16 +34,20 @@ class RzeczpospolitaRecipe(BasicNewsRecipe):
|
|||||||
keep_only_tags.append(dict(name = 'div', attrs = {'id' : 'story'}))
|
keep_only_tags.append(dict(name = 'div', attrs = {'id' : 'story'}))
|
||||||
|
|
||||||
remove_tags =[]
|
remove_tags =[]
|
||||||
|
remove_tags.append(dict(name = 'div', attrs = {'class' : 'articleLeftBox'}))
|
||||||
|
remove_tags.append(dict(name = 'div', attrs = {'class' : 'socialNewTools'}))
|
||||||
remove_tags.append(dict(name = 'div', attrs = {'id' : 'socialTools'}))
|
remove_tags.append(dict(name = 'div', attrs = {'id' : 'socialTools'}))
|
||||||
remove_tags.append(dict(name = 'div', attrs = {'class' : 'articleToolBoxTop'}))
|
remove_tags.append(dict(name = 'div', attrs = {'class' : 'articleToolBoxTop'}))
|
||||||
remove_tags.append(dict(name = 'div', attrs = {'class' : 'clr'}))
|
remove_tags.append(dict(name = 'div', attrs = {'class' : 'clr'}))
|
||||||
remove_tags.append(dict(name = 'div', attrs = {'id' : 'recommendations'}))
|
remove_tags.append(dict(name = 'div', attrs = {'id' : 'recommendations'}))
|
||||||
remove_tags.append(dict(name = 'div', attrs = {'id' : 'editorPicks'}))
|
remove_tags.append(dict(name = 'div', attrs = {'class' : 'editorPicks'}))
|
||||||
|
remove_tags.append(dict(name = 'div', attrs = {'class' : 'editorPicks editorPicksFirst'}))
|
||||||
remove_tags.append(dict(name = 'div', attrs = {'id' : 'articleCopyrightText'}))
|
remove_tags.append(dict(name = 'div', attrs = {'id' : 'articleCopyrightText'}))
|
||||||
remove_tags.append(dict(name = 'div', attrs = {'id' : 'articleCopyrightButton'}))
|
remove_tags.append(dict(name = 'div', attrs = {'id' : 'articleCopyrightButton'}))
|
||||||
remove_tags.append(dict(name = 'div', attrs = {'class' : 'articleToolBoxBottom'}))
|
remove_tags.append(dict(name = 'div', attrs = {'class' : 'articleToolBoxBottom'}))
|
||||||
remove_tags.append(dict(name = 'div', attrs = {'class' : 'more'}))
|
remove_tags.append(dict(name = 'div', attrs = {'class' : 'more'}))
|
||||||
remove_tags.append(dict(name = 'div', attrs = {'class' : 'addRecommendation'}))
|
remove_tags.append(dict(name = 'div', attrs = {'class' : 'addRecommendation'}))
|
||||||
|
remove_tags.append(dict(name = 'h3', attrs = {'id' : 'tags'}))
|
||||||
|
|
||||||
extra_css = '''
|
extra_css = '''
|
||||||
body {font-family: verdana, arial, helvetica, geneva, sans-serif ;}
|
body {font-family: verdana, arial, helvetica, geneva, sans-serif ;}
|
||||||
@ -67,3 +71,4 @@ class RzeczpospolitaRecipe(BasicNewsRecipe):
|
|||||||
|
|
||||||
return start + '/' + index + '?print=tak'
|
return start + '/' + index + '?print=tak'
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user