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
f0a1aadd
Commit
f0a1aadd
authored
Aug 12, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
853a9447
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
10 deletions
+7
-10
one_seven_star_topic.py
vest/click/one_seven_star_topic.py
+3
-5
true_click_one.py
vest/click/true_click_one.py
+1
-1
one_seven_topic_comment.py
vest/reply/one_seven_topic_comment.py
+3
-4
No files found.
vest/click/one_seven_star_topic.py
View file @
f0a1aadd
...
@@ -2,10 +2,9 @@ import time
...
@@ -2,10 +2,9 @@ import time
import
pymysql
import
pymysql
import
random
import
random
import
traceback
import
traceback
from
log_settings
import
*
import
logging
import
logging
from
auto_request
import
login
,
click
,
time_convs
from
vest.request.
auto_request
import
login
,
click
,
time_convs
from
auto_request
import
host
,
user
,
db
,
passwd
from
vest.request.
auto_request
import
host
,
user
,
db
,
passwd
def
get_data
(
numtime
,
numtime2
):
def
get_data
(
numtime
,
numtime2
):
...
@@ -35,9 +34,8 @@ def get_data(numtime, numtime2):
...
@@ -35,9 +34,8 @@ def get_data(numtime, numtime2):
def
one_seven_star_topic
():
def
one_seven_star_topic
():
try
:
try
:
numtime
,
numtime2
=
time_convs
(
1
,
7
)
numtime
,
numtime2
=
time_convs
(
7
,
1
)
user_id
=
get_data
(
numtime
,
numtime2
)
user_id
=
get_data
(
numtime
,
numtime2
)
dicts
=
{}
logging
.
info
(
"get user_id:
%
s"
%
user_id
)
logging
.
info
(
"get user_id:
%
s"
%
user_id
)
for
i
in
user_id
:
for
i
in
user_id
:
rand_num
=
random
.
randint
(
0
,
1
)
rand_num
=
random
.
randint
(
0
,
1
)
...
...
vest/click/true_click_one.py
View file @
f0a1aadd
...
@@ -40,7 +40,7 @@ def get_data(numtime, numtime2):
...
@@ -40,7 +40,7 @@ def get_data(numtime, numtime2):
def
true_click_one
():
def
true_click_one
():
try
:
try
:
numtime
,
numtime2
=
time_conv
(
150
,
0
)
numtime
,
numtime2
=
time_conv
(
5
,
0
)
user_id
=
get_data
(
numtime
,
numtime2
)
user_id
=
get_data
(
numtime
,
numtime2
)
for
i
in
user_id
:
for
i
in
user_id
:
cook
=
login
()
cook
=
login
()
...
...
vest/reply/one_seven_topic_comment.py
View file @
f0a1aadd
...
@@ -2,10 +2,9 @@ import time
...
@@ -2,10 +2,9 @@ import time
import
pymysql
import
pymysql
import
random
import
random
import
traceback
import
traceback
from
log_settings
import
*
import
logging
import
logging
from
auto_request
import
login
,
click
,
time_convs
from
vest.request.
auto_request
import
login
,
click
,
time_convs
from
auto_request
import
host
,
user
,
db
,
passwd
from
vest.request.
auto_request
import
host
,
user
,
db
,
passwd
def
get_data
(
numtime
,
numtime2
):
def
get_data
(
numtime
,
numtime2
):
...
@@ -35,7 +34,7 @@ def get_data(numtime, numtime2):
...
@@ -35,7 +34,7 @@ def get_data(numtime, numtime2):
def
one_seven_topic_comment
():
def
one_seven_topic_comment
():
try
:
try
:
numtime
,
numtime2
=
time_convs
(
1
,
7
)
numtime
,
numtime2
=
time_convs
(
7
,
1
)
user_id
=
get_data
(
numtime
,
numtime2
)
user_id
=
get_data
(
numtime
,
numtime2
)
logging
.
info
(
"get user_id:
%
s"
%
user_id
)
logging
.
info
(
"get user_id:
%
s"
%
user_id
)
for
i
in
user_id
:
for
i
in
user_id
:
...
...
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