[2chan] fix extraction
This commit is contained in:
@@ -58,7 +58,7 @@ class FutabaThreadExtractor(Extractor):
|
|||||||
def posts(self, page):
|
def posts(self, page):
|
||||||
"""Build a list of all post-objects"""
|
"""Build a list of all post-objects"""
|
||||||
page = text.extract(
|
page = text.extract(
|
||||||
page, '<div class="thre">', '<div style="clear:left"></div>')[0]
|
page, '<div class="thre"', '<div style="clear:left"></div>')[0]
|
||||||
return [
|
return [
|
||||||
self.parse(post)
|
self.parse(post)
|
||||||
for post in page.split('<table border=0>')
|
for post in page.split('<table border=0>')
|
||||||
|
|||||||
Reference in New Issue
Block a user