move select() in parser
This commit is contained in:
parent
cf2dca7520
commit
9afb301ebe
30 changed files with 197 additions and 197 deletions
|
|
@ -87,7 +87,7 @@ class BoardPage(BasePage):
|
|||
if div.tag == 'input' and div.attrib.get('type', 'checkbox') and div.attrib.get('value', 'delete'):
|
||||
article.id = int(div.attrib.get('name', '0'))
|
||||
if div.tag == 'blockquote':
|
||||
article.text = self.browser.parser.tostring(div)
|
||||
article.text = self.parser.tostring(div)
|
||||
if div.tag == 'table':
|
||||
tags = div.cssselect('td.reply')
|
||||
if tags:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue