Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
京
京东搜索采集自动验证
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
黄梓誉
京东搜索采集自动验证
Commits
de935565
Commit
de935565
authored
Sep 25, 2024
by
huangziyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
2aa7118d
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
30 additions
and
0 deletions
+30
-0
京东搜索_手动验证版_0.py
京东搜索_手动验证版_0.py
+3
-0
京东搜索_手动验证版_1.py
京东搜索_手动验证版_1.py
+3
-0
京东搜索_手动验证版_2.py
京东搜索_手动验证版_2.py
+3
-0
京东搜索_手动验证版_3.py
京东搜索_手动验证版_3.py
+3
-0
京东搜索_手动验证版_4.py
京东搜索_手动验证版_4.py
+3
-0
京东搜索_手动验证版_5.py
京东搜索_手动验证版_5.py
+3
-0
京东搜索_手动验证版_6.py
京东搜索_手动验证版_6.py
+3
-0
京东搜索_手动验证版_7.py
京东搜索_手动验证版_7.py
+3
-0
京东搜索_手动验证版_8.py
京东搜索_手动验证版_8.py
+3
-0
京东搜索_手动验证版_9.py
京东搜索_手动验证版_9.py
+3
-0
No files found.
京东搜索_手动验证版_0.py
View file @
de935565
...
...
@@ -117,6 +117,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"跳转首页了,重试五次后结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
text
=
driver
.
page_source
...
...
@@ -132,6 +133,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"需要登录,重试五次结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
if
driver
.
title
==
'京东(JD.COM)-正品低价、品质保障、配送及时、轻松购物!'
:
...
...
@@ -140,6 +142,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"跳转首页了,重试五次后结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
error_count
=
0
Response
=
etree
.
HTML
(
text
)
...
...
京东搜索_手动验证版_1.py
View file @
de935565
...
...
@@ -117,6 +117,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"跳转首页了,重试五次后结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
text
=
driver
.
page_source
...
...
@@ -132,6 +133,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"需要登录,重试五次结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
if
driver
.
title
==
'京东(JD.COM)-正品低价、品质保障、配送及时、轻松购物!'
:
...
...
@@ -140,6 +142,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"跳转首页了,重试五次后结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
error_count
=
0
Response
=
etree
.
HTML
(
text
)
...
...
京东搜索_手动验证版_2.py
View file @
de935565
...
...
@@ -117,6 +117,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"跳转首页了,重试五次后结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
text
=
driver
.
page_source
...
...
@@ -132,6 +133,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"需要登录,重试五次结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
if
driver
.
title
==
'京东(JD.COM)-正品低价、品质保障、配送及时、轻松购物!'
:
...
...
@@ -140,6 +142,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"跳转首页了,重试五次后结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
error_count
=
0
Response
=
etree
.
HTML
(
text
)
...
...
京东搜索_手动验证版_3.py
View file @
de935565
...
...
@@ -117,6 +117,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"跳转首页了,重试五次后结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
text
=
driver
.
page_source
...
...
@@ -132,6 +133,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"需要登录,重试五次结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
if
driver
.
title
==
'京东(JD.COM)-正品低价、品质保障、配送及时、轻松购物!'
:
...
...
@@ -140,6 +142,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"跳转首页了,重试五次后结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
error_count
=
0
Response
=
etree
.
HTML
(
text
)
...
...
京东搜索_手动验证版_4.py
View file @
de935565
...
...
@@ -117,6 +117,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"跳转首页了,重试五次后结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
text
=
driver
.
page_source
...
...
@@ -132,6 +133,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"需要登录,重试五次结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
if
driver
.
title
==
'京东(JD.COM)-正品低价、品质保障、配送及时、轻松购物!'
:
...
...
@@ -140,6 +142,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"跳转首页了,重试五次后结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
error_count
=
0
Response
=
etree
.
HTML
(
text
)
...
...
京东搜索_手动验证版_5.py
View file @
de935565
...
...
@@ -117,6 +117,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"跳转首页了,重试五次后结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
text
=
driver
.
page_source
...
...
@@ -132,6 +133,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"需要登录,重试五次结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
if
driver
.
title
==
'京东(JD.COM)-正品低价、品质保障、配送及时、轻松购物!'
:
...
...
@@ -140,6 +142,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"跳转首页了,重试五次后结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
error_count
=
0
Response
=
etree
.
HTML
(
text
)
...
...
京东搜索_手动验证版_6.py
View file @
de935565
...
...
@@ -117,6 +117,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"跳转首页了,重试五次后结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
text
=
driver
.
page_source
...
...
@@ -132,6 +133,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"需要登录,重试五次结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
if
driver
.
title
==
'京东(JD.COM)-正品低价、品质保障、配送及时、轻松购物!'
:
...
...
@@ -140,6 +142,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"跳转首页了,重试五次后结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
error_count
=
0
Response
=
etree
.
HTML
(
text
)
...
...
京东搜索_手动验证版_7.py
View file @
de935565
...
...
@@ -117,6 +117,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"跳转首页了,重试五次后结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
text
=
driver
.
page_source
...
...
@@ -132,6 +133,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"需要登录,重试五次结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
if
driver
.
title
==
'京东(JD.COM)-正品低价、品质保障、配送及时、轻松购物!'
:
...
...
@@ -140,6 +142,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"跳转首页了,重试五次后结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
error_count
=
0
Response
=
etree
.
HTML
(
text
)
...
...
京东搜索_手动验证版_8.py
View file @
de935565
...
...
@@ -117,6 +117,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"跳转首页了,重试五次后结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
text
=
driver
.
page_source
...
...
@@ -132,6 +133,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"需要登录,重试五次结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
if
driver
.
title
==
'京东(JD.COM)-正品低价、品质保障、配送及时、轻松购物!'
:
...
...
@@ -140,6 +142,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"跳转首页了,重试五次后结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
error_count
=
0
Response
=
etree
.
HTML
(
text
)
...
...
京东搜索_手动验证版_9.py
View file @
de935565
...
...
@@ -117,6 +117,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"跳转首页了,重试五次后结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
text
=
driver
.
page_source
...
...
@@ -132,6 +133,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"需要登录,重试五次结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
if
driver
.
title
==
'京东(JD.COM)-正品低价、品质保障、配送及时、轻松购物!'
:
...
...
@@ -140,6 +142,7 @@ def get_cookie(username=None, password=None, driver=None):
print
(
"跳转首页了,重试五次后结束,切换账号"
)
return
time
.
sleep
(
1
)
driver
.
get
(
url
)
continue
error_count
=
0
Response
=
etree
.
HTML
(
text
)
...
...
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