This commit is contained in:
Kovid Goyal 2010-06-11 12:24:55 -06:00
parent 13acbf4459
commit 1aa754e22f

View file

@ -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)]