diff --git a/recipes/tablety_pl.recipe b/recipes/tablety_pl.recipe index 36bf58a8ef..30b7475239 100644 --- a/recipes/tablety_pl.recipe +++ b/recipes/tablety_pl.recipe @@ -16,7 +16,7 @@ class Tablety_pl(BasicNewsRecipe): max_articles_per_feed = 100 preprocess_regexps = [(re.compile(u'

Przeczytaj także.*?

', re.DOTALL), lambda match: ''), (re.compile(u'

Przeczytaj koniecznie.*?

', re.DOTALL), lambda match: '')] - keep_only_tags = [dict(id='news_block')] + keep_only_tags = [dict(attrs={'class': ['featured-image', 'article-content clearfix']})] remove_tags = [dict(attrs={'class': ['comments_icon', 'wp-polls', 'entry-comments', 'wp-polls-loading', 'ts-fab-wrapper', 'entry-footer', 'social-custom']})] feeds = [(u'Najnowsze posty', u'http://www.tablety.pl/feed/')]