Update The Onion AV Club

This commit is contained in:
Kovid Goyal 2015-06-21 07:25:08 +05:30
parent 3136d3b903
commit 7ac8bf12b7

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2 #!/usr/bin/env python2
__license__ = 'GPL v3' __license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>' __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
@ -16,9 +16,7 @@ class BBC(BasicNewsRecipe):
no_stylesheets = True no_stylesheets = True
oldest_article = 2 oldest_article = 2
max_articles_per_feed = 100 max_articles_per_feed = 100
auto_cleanup = True
keep_only_tags = [dict(name='div', attrs={'id':'content'})
]
remove_tags = [dict(name='div', attrs={'class':['footer','tools_horizontal']}), remove_tags = [dict(name='div', attrs={'class':['footer','tools_horizontal']}),
dict(name='div', attrs={'id':['tool_holder','elsewhere_on_avclub']}) dict(name='div', attrs={'id':['tool_holder','elsewhere_on_avclub']})