From 34c0a2f8dc35ac10ff345f0d00efa0f3f9236877 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20D=C5=82ugosz?= Date: Sat, 15 Oct 2016 21:41:03 +0200 Subject: [PATCH] recipes: remove most of garbage tags from ciekawostki_historyczne --- recipes/ciekawostki_historyczne.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/ciekawostki_historyczne.recipe b/recipes/ciekawostki_historyczne.recipe index e77388c28f..a62b383833 100644 --- a/recipes/ciekawostki_historyczne.recipe +++ b/recipes/ciekawostki_historyczne.recipe @@ -20,8 +20,8 @@ class Ciekawostki_Historyczne(BasicNewsRecipe): remove_empty_feeds = True keep_only_tags = [dict(name='div', attrs={'class': 'post'})] recursions = 5 - remove_tags = [dict(id='singlepostinfo'), dict( - attrs={'class': ['books short floatRight', 'unprintable', 'booksTable', 'bawmrp']})] + remove_tags = [dict(id=['catapult-cookie-bar','header','footer','rightcolumn','singlepostinfo']), dict( + attrs={'class': ['ubm_banner','ciekawostki-slider-popular','books short floatRight', 'unprintable', 'booksTable', 'bawmrp']})] feeds = [ (u'Staro\u017cytno\u015b\u0107', u'http://ciekawostkihistoryczne.pl/tag/starozytnosc/feed/'),