Commit c6a3aff0 authored by liyang's avatar liyang

fix:爬取数据入库

parent 992c7fbb
......@@ -22,7 +22,7 @@ def create(option=None):
user_data_dir = os.path.join(os.path.abspath("../"), 'network-assets-reptile', 'user_data')
script = f'--user-data-dir={user_data_dir}'
print(script)
log.debug(script)
# log.debug(script)
chrome_options.add_argument(script) # 设置一个自定义的用户配置文件路径
if sys.platform.startswith('linux'):
......
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