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
7eaf54c5
Commit
7eaf54c5
authored
Dec 04, 2018
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hh
parent
aa954e64
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
29 deletions
+26
-29
workspace.xml
.idea/workspace.xml
+10
-10
auto_click.py
auto_click.py
+14
-17
auto_commnet.py
auto_commnet.py
+2
-2
No files found.
.idea/workspace.xml
View file @
7eaf54c5
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
<entry
key=
"comment"
value=
"16"
/>
<entry
key=
"comment"
value=
"16"
/>
<entry
key=
"cuigeng"
value=
"1"
/>
<entry
key=
"cuigeng"
value=
"1"
/>
<entry
key=
"data"
value=
"12"
/>
<entry
key=
"data"
value=
"12"
/>
<entry
key=
"py"
value=
"31
57
"
/>
<entry
key=
"py"
value=
"31
72
"
/>
<entry
key=
"unr_data"
value=
"1"
/>
<entry
key=
"unr_data"
value=
"1"
/>
<entry
key=
"xuqiu"
value=
"1"
/>
<entry
key=
"xuqiu"
value=
"1"
/>
</counts>
</counts>
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
<usages-collector
id=
"statistics.file.types.edit"
>
<usages-collector
id=
"statistics.file.types.edit"
>
<counts>
<counts>
<entry
key=
"PLAIN_TEXT"
value=
"35"
/>
<entry
key=
"PLAIN_TEXT"
value=
"35"
/>
<entry
key=
"Python"
value=
"31
57
"
/>
<entry
key=
"Python"
value=
"31
72
"
/>
</counts>
</counts>
</usages-collector>
</usages-collector>
</session>
</session>
...
@@ -116,8 +116,8 @@
...
@@ -116,8 +116,8 @@
<file
pinned=
"false"
current-in-tab=
"true"
>
<file
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/auto_commnet.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_commnet.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1
83
"
>
<state
relative-caret-position=
"1
60
"
>
<caret
line=
"1
22"
selection-start-line=
"122"
selection-end-line=
"122
"
/>
<caret
line=
"1
16"
lean-forward=
"true"
selection-start-line=
"116"
selection-end-line=
"116
"
/>
<folding>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#249#309#0"
/>
<element
signature=
"e#249#309#0"
/>
...
@@ -160,8 +160,8 @@
...
@@ -160,8 +160,8 @@
</option>
</option>
</component>
</component>
<component
name=
"ProjectFrameBounds"
>
<component
name=
"ProjectFrameBounds"
>
<option
name=
"x"
value=
"
176
"
/>
<option
name=
"x"
value=
"
282
"
/>
<option
name=
"y"
value=
"
53
"
/>
<option
name=
"y"
value=
"
35
"
/>
<option
name=
"width"
value=
"1280"
/>
<option
name=
"width"
value=
"1280"
/>
<option
name=
"height"
value=
"725"
/>
<option
name=
"height"
value=
"725"
/>
</component>
</component>
...
@@ -273,7 +273,7 @@
...
@@ -273,7 +273,7 @@
<servers
/>
<servers
/>
</component>
</component>
<component
name=
"ToolWindowManager"
>
<component
name=
"ToolWindowManager"
>
<frame
x=
"
176"
y=
"53
"
width=
"1280"
height=
"725"
extended-state=
"0"
/>
<frame
x=
"
282"
y=
"35
"
width=
"1280"
height=
"725"
extended-state=
"0"
/>
<layout>
<layout>
<window_info
content_ui=
"combo"
id=
"Project"
order=
"0"
visible=
"true"
weight=
"0.17791899"
/>
<window_info
content_ui=
"combo"
id=
"Project"
order=
"0"
visible=
"true"
weight=
"0.17791899"
/>
<window_info
id=
"Structure"
order=
"1"
side_tool=
"true"
weight=
"0.25"
/>
<window_info
id=
"Structure"
order=
"1"
side_tool=
"true"
weight=
"0.25"
/>
...
@@ -286,7 +286,7 @@
...
@@ -286,7 +286,7 @@
<window_info
anchor=
"bottom"
id=
"Inspection"
order=
"5"
weight=
"0.4"
/>
<window_info
anchor=
"bottom"
id=
"Inspection"
order=
"5"
weight=
"0.4"
/>
<window_info
anchor=
"bottom"
id=
"TODO"
order=
"6"
/>
<window_info
anchor=
"bottom"
id=
"TODO"
order=
"6"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"7"
show_stripe_button=
"false"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"7"
show_stripe_button=
"false"
/>
<window_info
active=
"true"
anchor=
"bottom"
id=
"Terminal"
order=
"8"
visible=
"true"
weight=
"0.3
28594
"
/>
<window_info
active=
"true"
anchor=
"bottom"
id=
"Terminal"
order=
"8"
visible=
"true"
weight=
"0.3
1753555
"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
order=
"9"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
order=
"9"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Python Console"
order=
"10"
/>
<window_info
anchor=
"bottom"
id=
"Python Console"
order=
"10"
/>
<window_info
anchor=
"right"
id=
"Commander"
internal_type=
"SLIDING"
order=
"0"
type=
"SLIDING"
weight=
"0.4"
/>
<window_info
anchor=
"right"
id=
"Commander"
internal_type=
"SLIDING"
order=
"0"
type=
"SLIDING"
weight=
"0.4"
/>
...
@@ -508,8 +508,8 @@
...
@@ -508,8 +508,8 @@
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_commnet.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_commnet.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1
83
"
>
<state
relative-caret-position=
"1
60
"
>
<caret
line=
"1
22"
selection-start-line=
"122"
selection-end-line=
"122
"
/>
<caret
line=
"1
16"
lean-forward=
"true"
selection-start-line=
"116"
selection-end-line=
"116
"
/>
<folding>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#249#309#0"
/>
<element
signature=
"e#249#309#0"
/>
...
...
auto_click.py
View file @
7eaf54c5
...
@@ -22,16 +22,6 @@ def index_first():
...
@@ -22,16 +22,6 @@ def index_first():
def
login
():
def
login
():
num_majia
=
random
.
randint
(
1
,
300
)
# user_id=majia[num_majia]
user
=
's_PzFznI@shadow.com'
pwd
=
'123456'
cookies
=
index_first
()
post_dict
=
{
post_dict
=
{
'account_type'
:
2
,
'account_type'
:
2
,
'pwd'
:
pwd
,
'pwd'
:
pwd
,
...
@@ -66,9 +56,6 @@ def dz(cookies_get, id):
...
@@ -66,9 +56,6 @@ def dz(cookies_get, id):
text
=
response
.
text
text
=
response
.
text
if
text
[
0
][
'error'
]
==
1
and
text
[
0
][
'message'
]
==
'
\\
u5e16
\\
u5b50
\\
u5df2
\\
u4e0b
\\
u7ebf'
:
print
(
"该产品已下线"
)
def
time_conv
(
numtime
):
def
time_conv
(
numtime
):
now
=
datetime
.
datetime
.
now
()
now
=
datetime
.
datetime
.
now
()
...
@@ -96,7 +83,7 @@ if __name__ == "__main__":
...
@@ -96,7 +83,7 @@ if __name__ == "__main__":
for
i
in
range
(
len
(
time_list
)):
for
i
in
range
(
len
(
time_list
)):
time
.
sleep
(
random
.
randint
(
3000
,
4500
))
#
time.sleep(random.randint(3000,4500))
numtime
=
time_conv
(
time_list
[
i
])
numtime
=
time_conv
(
time_list
[
i
])
...
@@ -106,14 +93,24 @@ if __name__ == "__main__":
...
@@ -106,14 +93,24 @@ if __name__ == "__main__":
id
=
int
(
j
[
0
])
id
=
int
(
j
[
0
])
time
.
sleep
(
random
.
randint
(
200
,
500
))
#
time.sleep(random.randint(200,500))
num_cishu
=
random
.
randint
(
0
,
1
)
num_cishu
=
random
.
randint
(
0
,
1
)
if
num_cishu
==
1
:
if
num_cishu
==
1
:
cookies
=
login
()
num_majia
=
random
.
randint
(
1
,
300
)
# user_id=majia[num_majia]
user
=
's_AzAfOj@shadow.com'
pwd
=
'123456'
cookies
=
index_first
()
cook
=
login
(
cookies
,
user
,
pwd
)
dz
(
cook
ies
,
id
)
dz
(
cook
,
id
)
auto_commnet.py
View file @
7eaf54c5
...
@@ -117,9 +117,9 @@ if __name__ == "__main__":
...
@@ -117,9 +117,9 @@ if __name__ == "__main__":
pwd
=
'123456'
pwd
=
'123456'
cook
ies
=
login
(
cookies
,
user
,
pwd
)
cook
=
login
(
cookies
,
user
,
pwd
)
comment
=
get_comment
()
comment
=
get_comment
()
reply
(
cook
ies
,
id
,
comment
)
reply
(
cook
,
id
,
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