Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cybertron
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
cybertron
Commits
69bf0a64
Commit
69bf0a64
authored
Apr 26, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a
parent
9704f60e
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
53 additions
and
7 deletions
+53
-7
auto_click2.py
auto_click2.py
+12
-1
auto_click3.py
auto_click3.py
+12
-1
auto_comment1.py
auto_comment1.py
+1
-3
auto_comment2.py
auto_comment2.py
+12
-1
auto_comment3.py
auto_comment3.py
+16
-1
No files found.
auto_click2.py
View file @
69bf0a64
...
...
@@ -34,7 +34,18 @@ if __name__ == "__main__":
randoms_id
=
[]
print
(
user_ids
)
if
lenn
==
1
:
time
.
sleep
(
random
.
randint
(
10
,
50
))
cook
=
login
()
if
cook
is
not
None
:
click
(
cook
,
user_ids
[
0
])
else
:
for
i
in
range
(
int
(
lenn
/
2
)):
rand_num
=
random
.
randint
(
0
,
len
(
user_ids
)
-
1
)
...
...
auto_click3.py
View file @
69bf0a64
...
...
@@ -33,7 +33,18 @@ if __name__ == "__main__":
randoms_id
=
[]
for
i
in
range
(
lenn
/
2
):
if
lenn
==
1
:
time
.
sleep
(
random
.
randint
(
10
,
50
))
cook
=
login
()
if
cook
is
not
None
:
click
(
cook
,
user_ids
[
0
])
else
:
for
i
in
range
(
int
(
lenn
/
2
)):
rand_num
=
random
.
randint
(
0
,
len
(
user_ids
)
-
1
)
randoms_id
.
append
(
user_ids
[
rand_num
])
if
randoms_id
:
...
...
auto_comment1.py
View file @
69bf0a64
...
...
@@ -61,9 +61,7 @@ if __name__ == "__main__":
user_id
=
get_data
(
numtime1
,
numtime2
)
dicts
=
{}
if
user_id
:
for
i
in
user_id
:
for
i
in
user_id
and
user_id
:
if
i
[
0
]
not
in
dicts
.
keys
():
dicts
.
setdefault
(
i
[
0
],
[])
dicts
[
i
[
0
]]
.
append
(
i
[
1
])
...
...
auto_comment2.py
View file @
69bf0a64
...
...
@@ -34,8 +34,19 @@ if __name__ == "__main__":
randoms_id
=
[]
for
i
in
range
(
int
(
lenn
/
2
)):
if
lenn
==
1
:
time
.
sleep
(
random
.
randint
(
10
,
50
))
comment
=
get_comment
()
cook
=
login
()
if
cook
is
not
None
:
reply
(
cook
,
user_ids
[
0
],
comment
)
else
:
for
i
in
range
(
int
(
lenn
/
2
)):
rand_num
=
random
.
randint
(
0
,
len
(
user_ids
)
-
1
)
randoms_id
.
append
(
user_ids
[
rand_num
])
...
...
auto_comment3.py
View file @
69bf0a64
...
...
@@ -32,7 +32,22 @@ if __name__ == "__main__":
lenn
=
len
(
user_ids
)
randoms_id
=
[]
for
i
in
range
(
int
(
lenn
/
2
)):
if
lenn
==
1
:
time
.
sleep
(
random
.
randint
(
10
,
50
))
cook
=
login
()
comment
=
get_comment
()
cook
=
login
()
if
cook
is
not
None
:
reply
(
cook
,
user_ids
[
0
],
comment
)
else
:
for
i
in
range
(
int
(
lenn
/
2
)):
rand_num
=
random
.
randint
(
0
,
len
(
user_ids
)
-
1
)
randoms_id
.
append
(
user_ids
[
rand_num
])
if
randoms_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