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