Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
network-assets-reptile
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liyang
network-assets-reptile
Commits
c6a3aff0
Commit
c6a3aff0
authored
Jul 11, 2023
by
liyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:爬取数据入库
parent
992c7fbb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
createBrowserDriver.py
utils/createBrowserDriver.py
+1
-1
No files found.
utils/createBrowserDriver.py
View file @
c6a3aff0
...
@@ -22,7 +22,7 @@ def create(option=None):
...
@@ -22,7 +22,7 @@ def create(option=None):
user_data_dir
=
os
.
path
.
join
(
os
.
path
.
abspath
(
"../"
),
'network-assets-reptile'
,
'user_data'
)
user_data_dir
=
os
.
path
.
join
(
os
.
path
.
abspath
(
"../"
),
'network-assets-reptile'
,
'user_data'
)
script
=
f
'--user-data-dir={user_data_dir}'
script
=
f
'--user-data-dir={user_data_dir}'
print
(
script
)
print
(
script
)
log
.
debug
(
script
)
#
log.debug(script)
chrome_options
.
add_argument
(
script
)
# 设置一个自定义的用户配置文件路径
chrome_options
.
add_argument
(
script
)
# 设置一个自定义的用户配置文件路径
if
sys
.
platform
.
startswith
(
'linux'
):
if
sys
.
platform
.
startswith
(
'linux'
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment