mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-10 15:56:12 +01:00
Remove hidden elements for subscribers
This commit is contained in:
parent
d2eef7db45
commit
b9c182a3fa
1 changed files with 1 additions and 0 deletions
|
|
@ -75,6 +75,7 @@ def get_cover_url(self):
|
|||
return cover
|
||||
|
||||
remove_tags = [{
|
||||
'attrs': {'class': lambda x: x and 'is-hidden' in x},
|
||||
'name': ['object', 'link', 'iframe', 'base', 'meta', 'script']}, {
|
||||
'attrs': {
|
||||
'class': [
|
||||
|
|
|
|||
Loading…
Reference in a new issue