Commit adaa89cd authored by liyang's avatar liyang

fix:ptt debug

parent 07bc5fe6
......@@ -64,6 +64,7 @@ def reptile(browser=None, search_word=""):
re.findall("公告", element_list[index_two].text)
except:
log.debug(f"正在爬取分类:{type_title}-第{index_two + 1}条")
print("当前连接:"+str(browser.current_url))
print(element_list[index_two].get_attribute("outerHTML"))
print("出现错误:")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment