From b748fa2fd49345fb05f2be656ac655e2d3322129 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 9 Nov 2011 18:44:33 +0530 Subject: [PATCH] ... --- recipes/techtarget.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/techtarget.recipe b/recipes/techtarget.recipe index 75bf0c3289..888ec7fac0 100644 --- a/recipes/techtarget.recipe +++ b/recipes/techtarget.recipe @@ -6,9 +6,9 @@ class TechTarget(BasicNewsRecipe): description = '''IT Infrastructure related blogs from Techtarget''' publisher = 'Techtarget' - language = 'en' category = 'IT, Infrastructure' oldest_article = 7 + language = 'en' max_articles_per_feed = 100 no_stylesheets = True use_embedded_content = False @@ -27,7 +27,7 @@ class TechTarget(BasicNewsRecipe): br.submit() return br - keep_only_tags = [dict(name='div', attrs={'id':'article'})] + keep_only_tags = [dict(name='div', attrs={'id':'article'}),dict(name='div', attrs={'class':'entry'})] remove_tags= [dict(name='div', attrs={'id':['articleToolbar','relatedContent']})] remove_tags_after = [dict(name='div', attrs={'id':'relatedContent'})]