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
alpha
physical
Commits
57387787
Commit
57387787
authored
Aug 10, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ad
parent
b059430c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
12 deletions
+1
-12
auto_follow_new.py
vest/follow/auto_follow_new.py
+0
-11
true_comment_three.py
vest/reply/true_comment_three.py
+1
-1
No files found.
vest/follow/auto_follow_new.py
View file @
57387787
...
...
@@ -96,25 +96,14 @@ def get_commnet_id(numtime):
def
auto_follow_new
():
try
:
numtime1
,
numtime2
=
time_convs
(
1
,
2
)
user_id
=
get_commnet_id
(
numtime1
)
try
:
for
j
in
user_id
and
user_id
:
id
=
int
(
j
[
0
])
follow_num
=
random
.
randint
(
0
,
1
)
for
i
in
range
(
follow_num
):
time
.
sleep
(
random
.
randint
(
10
,
50
))
cookies
=
login
()
if
cookies
is
not
None
:
follow
(
cookies
,
id
)
except
:
...
...
vest/reply/true_comment_three.py
View file @
57387787
...
...
@@ -45,12 +45,12 @@ def true_comment_three():
logging
.
info
(
" commend three"
)
numtime1
,
numtime2
=
time_conv
(
45
,
35
)
user_id
=
get_data
(
numtime1
,
numtime2
)
dicts
=
{}
if
user_id
:
for
i
in
user_id
:
rand_num
=
random
.
randint
(
0
,
1
)
if
rand_num
==
1
:
cook
=
login
()
logging
.
info
(
"get cook;
%
s"
%
cook
)
comment
=
get_comment
()
if
cook
is
not
None
:
reply
(
cook
,
i
[
1
],
comment
)
...
...
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