mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Update The Onion AV Club
This commit is contained in:
parent
3136d3b903
commit
7ac8bf12b7
@ -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']})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user