|
|
@ -35,10 +35,7 @@ for line in lines:
|
|
|
|
if not found_empty_line:
|
|
|
|
if not found_empty_line:
|
|
|
|
content_after_empty_line = html_content
|
|
|
|
content_after_empty_line = html_content
|
|
|
|
|
|
|
|
|
|
|
|
for x in content_after_empty_line.split("\n"):
|
|
|
|
content_after_empty_line = content_after_empty_line.replace("\n\n", "\n")
|
|
|
|
if x.strip() == "" :
|
|
|
|
print(content_after_empty_line)
|
|
|
|
continue
|
|
|
|
|
|
|
|
print(x)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 关闭浏览器
|
|
|
|
# 关闭浏览器
|
|
|
|
driver.quit()
|
|
|
|
driver.quit()
|
|
|
|