From a5648b20d1ed808547c52ef3d9c9eaed7d7c9822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20D=C5=82ugosz?= Date: Tue, 17 Oct 2017 22:41:24 +0200 Subject: [PATCH] fix android.com.pl recipe --- recipes/android_com_pl.recipe | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes/android_com_pl.recipe b/recipes/android_com_pl.recipe index b7ad096f79..beefd9f28d 100644 --- a/recipes/android_com_pl.recipe +++ b/recipes/android_com_pl.recipe @@ -8,10 +8,12 @@ class Android_com_pl(BasicNewsRecipe): description = u'Android.com.pl - to największe w Polsce centrum Android OS. Znajdziesz tu: nowości, forum, pomoc, recenzje, gry, aplikacje.' category = 'Android, mobile' language = 'pl' - use_embedded_content = True cover_url = 'http://android.com.pl/wp-content/themes/android/images/logo.png' oldest_article = 8 max_articles_per_feed = 100 + keep_only_tags = [dict(name='div', attrs={'class': ['title', 'post-content']})] + remove_tags_after = [{'class': 'post-content'}] + remove_tags = [dict(name='ul', attrs={'class': 'tags small-tags'}), dict(name='a', attrs={'onclick': 'return ss_plugin_loadpopup_js(this);'})] preprocess_regexps = [ (re.compile(ur'

.{,1}

', re.DOTALL), lambda match: '')] feeds = [(u'Android', u'http://android.com.pl/feed/')]