div content crawler
parent
469efcc0ce
commit
b89f9a70e3
|
@ -404,6 +404,8 @@ def parser_beautiful(innerHTML, article, number, dircrea, bk=False):
|
|||
if len(prenode) > 0:
|
||||
for i in prenode:
|
||||
article += "\n\n```\n" + i.text + "\n```\n\n"
|
||||
else:
|
||||
article, number = parser_beautiful(chi, article, number, dircrea, bk)
|
||||
if bk:
|
||||
article += "**"
|
||||
return article, number
|
||||
|
|
Loading…
Reference in New Issue