From 78f840906efb96a5b84cfc6e7bc9f6aac27f09a3 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 15 Oct 2013 08:56:51 +0530 Subject: [PATCH] Update cracked.com --- recipes/cracked_com.recipe | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/recipes/cracked_com.recipe b/recipes/cracked_com.recipe index a702f93433..5a024f7b23 100644 --- a/recipes/cracked_com.recipe +++ b/recipes/cracked_com.recipe @@ -22,12 +22,8 @@ class Cracked(BasicNewsRecipe): 'comment': description, 'tags': category, 'publisher': publisher, 'language': language } - # remove_tags_before = dict(id='PrimaryContent') - - keep_only_tags = dict(name='article', attrs={ - 'class': 'module article dropShadowBottomCurved'}) - - # remove_tags_after = dict(name='div', attrs={'class':'shareBar'}) + keep_only_tags = [dict(name='article', attrs={'class': 'module article dropShadowBottomCurved'}), + dict(name='article', attrs={'class': 'module blog dropShadowBottomCurved'})] remove_tags = [ dict(name='section', attrs={'class': ['socialTools', 'quickFixModule']})]