Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
physical
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
钟尚武
physical
Commits
b059430c
Commit
b059430c
authored
Aug 10, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
51c7da6e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
true_click_one.py
vest/click/true_click_one.py
+2
-2
auto_request.py
vest/request/auto_request.py
+0
-2
No files found.
vest/click/true_click_one.py
View file @
b059430c
...
...
@@ -41,11 +41,11 @@ def get_data(numtime, numtime2):
def
true_click_one
():
try
:
numtime
,
numtime2
=
time_conv
(
5
,
0
)
numtime
,
numtime2
=
time_conv
(
150
,
0
)
user_id
=
get_data
(
numtime
,
numtime2
)
dicts
=
{}
for
i
in
user_id
:
cook
=
login
()
logging
.
info
(
"get cook:
%
s"
%
cook
)
if
cook
is
not
None
:
click
(
cook
,
i
[
1
])
...
...
vest/request/auto_request.py
View file @
b059430c
...
...
@@ -117,10 +117,8 @@ def get_cookies(user_id):
def
login
():
try
:
user_id
=
get_majia
()
logging
.
info
(
"get user_id:
%
s"
%
user_id
)
cookies
=
get_cookies
(
user_id
)
if
cookies
is
not
None
:
return
{
'sessionid'
:
cookies
}
...
...
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