摘要: from selenium import webdriver from selenium.webdriver import ChromeOptions option = ChromeOptions() option.add_argument('--headless') browser = webdr 阅读全文
posted @ 2021-08-04 22:52 宝山方圆 阅读(307) 评论(0) 推荐(0) 编辑
摘要: from typing_extensions import Final from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys imp 阅读全文
posted @ 2021-08-04 22:00 宝山方圆 阅读(56) 评论(0) 推荐(0) 编辑
摘要: import json from os import makedirs from os.path import exists RESULTS_DIR = 'results' exists(RESULTS_DIR) or makedirs(RESULTS_DIR) def save_data(data 阅读全文
posted @ 2021-08-04 17:08 宝山方圆 阅读(821) 评论(0) 推荐(0) 编辑