mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Fix antyweb recipe.
This commit is contained in:
parent
ea8cf981d4
commit
2c94d47ffa
@ -30,7 +30,7 @@ class AntywebRecipe(BasicNewsRecipe):
|
||||
|
||||
keep_only_tags = []
|
||||
keep_only_tags.append(dict(name='h1'))
|
||||
keep_only_tags.append(dict(name='article', attrs={'class': 'article'}))
|
||||
keep_only_tags.append(dict(name='section', attrs={'class': 'article'}))
|
||||
remove_tags = []
|
||||
remove_tags.append(dict(name='div', attrs={'class': 'ac-footer group'}))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user