mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-21 19:16:07 +01:00
...
This commit is contained in:
parent
13acbf4459
commit
1aa754e22f
1 changed files with 2 additions and 1 deletions
|
|
@ -51,6 +51,7 @@ def get_browser(self):
|
|||
, dict(name='div',attrs={'class':'notes surlignable'})
|
||||
]
|
||||
remove_tags = [dict(name=['object','link','script','iframe','base'])]
|
||||
remove_attributes = ['height','width']
|
||||
|
||||
def parse_index(self):
|
||||
articles = []
|
||||
|
|
@ -72,5 +73,5 @@ def parse_index(self):
|
|||
,'url' :url
|
||||
,'description':description
|
||||
})
|
||||
return [(soup.head.title.string, articles)]
|
||||
return [(self.title, articles)]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue