From 7ac8bf12b78bcdcc95d66e85d12c8318fd1d7011 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 21 Jun 2015 07:25:08 +0530 Subject: [PATCH] Update The Onion AV Club --- recipes/onionavclub.recipe | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/recipes/onionavclub.recipe b/recipes/onionavclub.recipe index 384ed0455a..157211077d 100644 --- a/recipes/onionavclub.recipe +++ b/recipes/onionavclub.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal ' @@ -16,9 +16,7 @@ class BBC(BasicNewsRecipe): no_stylesheets = True oldest_article = 2 max_articles_per_feed = 100 - - keep_only_tags = [dict(name='div', attrs={'id':'content'}) - ] + auto_cleanup = True remove_tags = [dict(name='div', attrs={'class':['footer','tools_horizontal']}), dict(name='div', attrs={'id':['tool_holder','elsewhere_on_avclub']})