fix 4chan backend to support message "AMERICA FUCK YEAH" outside of a thread
This commit is contained in:
parent
29d164f737
commit
3121e0c57d
1 changed files with 2 additions and 0 deletions
|
|
@ -84,6 +84,8 @@ class BoardPage(BasePage):
|
|||
filename = span.text
|
||||
article = Message(self.browser, self.board, 0, filename, url)
|
||||
self.articles.append(article)
|
||||
if article is None:
|
||||
continue
|
||||
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':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue