From 5a26d7ceb3899e48765d4a95c1cf3dac452b7ae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20D=C5=82ugosz?= Date: Fri, 26 Oct 2012 21:35:28 +0200 Subject: [PATCH] align to kalibrator - rzeczpospolita.recipe --- recipes/rzeczpospolita.recipe | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/recipes/rzeczpospolita.recipe b/recipes/rzeczpospolita.recipe index 4ab27d8437..40cb4db3ac 100644 --- a/recipes/rzeczpospolita.recipe +++ b/recipes/rzeczpospolita.recipe @@ -34,16 +34,20 @@ class RzeczpospolitaRecipe(BasicNewsRecipe): keep_only_tags.append(dict(name = 'div', attrs = {'id' : 'story'})) 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 = {'class' : 'articleToolBoxTop'})) 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' : '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' : 'articleCopyrightButton'})) 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' : 'addRecommendation'})) + remove_tags.append(dict(name = 'h3', attrs = {'id' : 'tags'})) extra_css = ''' body {font-family: verdana, arial, helvetica, geneva, sans-serif ;} @@ -67,3 +71,4 @@ class RzeczpospolitaRecipe(BasicNewsRecipe): return start + '/' + index + '?print=tak' +