Commit a85b0f30 authored by liyang's avatar liyang

feat:ptt 爬取全部

parent 653b114a
...@@ -43,7 +43,7 @@ def reptile(browser=None, search_word=""): ...@@ -43,7 +43,7 @@ def reptile(browser=None, search_word=""):
for index, item_element in enumerate(classify_item_list): for index, item_element in enumerate(classify_item_list):
# 暂时先爬取 第2个 分类 # 暂时先爬取 第2个 分类
if 0 <= index < 4: if 0 <= index:
type_title = classify_item_list[index].text type_title = classify_item_list[index].text
# 进入分类页面 # 进入分类页面
classify_item_list[index].click() classify_item_list[index].click()
......
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