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
53e387ac
Commit
53e387ac
authored
Apr 26, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a
parent
2bfae969
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
38 deletions
+40
-38
workspace.xml
.idea/workspace.xml
+35
-34
auto_click2.py
auto_click2.py
+1
-1
auto_comment2.py
auto_comment2.py
+1
-0
auto_comment3.py
auto_comment3.py
+3
-3
No files found.
.idea/workspace.xml
View file @
53e387ac
...
...
@@ -2,7 +2,7 @@
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"fd1f0b61-1139-44e5-87e7-f8b86ff52376"
name=
"Default Changelist"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/auto_comment
1.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_comment1
.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_comment
2.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_comment2
.py"
afterDir=
"false"
/>
</list>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
...
...
@@ -43,7 +43,7 @@
<entry
key=
"comment"
value=
"59"
/>
<entry
key=
"dummy"
value=
"7"
/>
<entry
key=
"guanshui"
value=
"2"
/>
<entry
key=
"py"
value=
"76
65
"
/>
<entry
key=
"py"
value=
"76
71
"
/>
<entry
key=
"txt"
value=
"86"
/>
<entry
key=
"xuqiu"
value=
"223"
/>
</counts>
...
...
@@ -51,7 +51,7 @@
<usages-collector
id=
"statistics.file.types.edit"
>
<counts>
<entry
key=
"PLAIN_TEXT"
value=
"377"
/>
<entry
key=
"Python"
value=
"76
65
"
/>
<entry
key=
"Python"
value=
"76
71
"
/>
</counts>
</usages-collector>
</session>
...
...
@@ -156,11 +156,11 @@
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/auto_comment1.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
300
"
>
<caret
line=
"5
9"
column=
"45"
selection-start-line=
"59"
selection-start-column=
"45"
selection-end-line=
"59"
selection-end-column=
"45
"
/>
<state
relative-caret-position=
"
695
"
>
<caret
line=
"5
1"
lean-forward=
"true"
selection-start-line=
"51"
selection-end-line=
"51
"
/>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
</folding>
...
...
@@ -180,11 +180,11 @@
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/auto_comment2.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
135
"
>
<caret
line=
"
9"
column=
"20"
lean-forward=
"true"
selection-start-line=
"9"
selection-start-column=
"20"
selection-end-line=
"9"
selection-end-column=
"20
"
/>
<state
relative-caret-position=
"
243
"
>
<caret
line=
"
37"
column=
"12"
selection-start-line=
"37"
selection-start-column=
"12"
selection-end-line=
"37"
selection-end-column=
"12
"
/>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
</folding>
...
...
@@ -195,7 +195,7 @@
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_comment3.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
150
"
>
<state
relative-caret-position=
"
-16
"
>
<caret
line=
"10"
column=
"8"
lean-forward=
"true"
selection-start-line=
"10"
selection-start-column=
"8"
selection-end-line=
"10"
selection-end-column=
"8"
/>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
...
...
@@ -310,11 +310,11 @@
<option
value=
"$PROJECT_DIR$/auto_click3.py"
/>
<option
value=
"$PROJECT_DIR$/save_topic_id_comment_three.txt"
/>
<option
value=
"$PROJECT_DIR$/auto_comment3.py"
/>
<option
value=
"$PROJECT_DIR$/auto_comment2.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click2.py"
/>
<option
value=
"$PROJECT_DIR$/auto_request.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click1.py"
/>
<option
value=
"$PROJECT_DIR$/auto_comment1.py"
/>
<option
value=
"$PROJECT_DIR$/auto_comment2.py"
/>
</list>
</option>
</component>
...
...
@@ -532,6 +532,7 @@
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"0"
y=
"23"
width=
"1280"
height=
"724"
extended-state=
"0"
/>
<editor
active=
"true"
/>
<layout>
<window_info
id=
"Structure"
order=
"0"
sideWeight=
"0.21188119"
side_tool=
"true"
weight=
"0.19112115"
/>
<window_info
id=
"Favorites"
order=
"1"
side_tool=
"true"
/>
...
...
@@ -545,7 +546,7 @@
<window_info
anchor=
"bottom"
id=
"Inspection"
order=
"5"
weight=
"0.4"
/>
<window_info
anchor=
"bottom"
id=
"TODO"
order=
"6"
/>
<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.
42364532
"
/>
<window_info
active=
"true"
anchor=
"bottom"
id=
"Terminal"
order=
"8"
visible=
"true"
weight=
"0.
136289
"
/>
<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=
"DB Execution Console"
order=
"11"
/>
...
...
@@ -815,26 +816,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_comment3.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"150"
>
<caret
line=
"10"
column=
"8"
lean-forward=
"true"
selection-start-line=
"10"
selection-start-column=
"8"
selection-end-line=
"10"
selection-end-column=
"8"
/>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_comment2.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"135"
>
<caret
line=
"9"
column=
"20"
lean-forward=
"true"
selection-start-line=
"9"
selection-start-column=
"20"
selection-end-line=
"9"
selection-end-column=
"20"
/>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_commnet.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"394"
>
...
...
@@ -878,8 +859,28 @@
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_comment1.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"300"
>
<caret
line=
"59"
column=
"45"
selection-start-line=
"59"
selection-start-column=
"45"
selection-end-line=
"59"
selection-end-column=
"45"
/>
<state
relative-caret-position=
"695"
>
<caret
line=
"51"
lean-forward=
"true"
selection-start-line=
"51"
selection-end-line=
"51"
/>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_comment3.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-16"
>
<caret
line=
"10"
column=
"8"
lean-forward=
"true"
selection-start-line=
"10"
selection-start-column=
"8"
selection-end-line=
"10"
selection-end-column=
"8"
/>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_comment2.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"243"
>
<caret
line=
"37"
column=
"12"
selection-start-line=
"37"
selection-start-column=
"12"
selection-end-line=
"37"
selection-end-column=
"12"
/>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
</folding>
...
...
auto_click2.py
View file @
53e387ac
...
...
@@ -34,7 +34,7 @@ if __name__ == "__main__":
randoms_id
=
[]
for
i
in
range
(
lenn
/
2
):
for
i
in
range
(
int
(
lenn
/
2
)
):
rand_num
=
random
.
randint
(
0
,
len
(
user_ids
)
-
1
)
randoms_id
.
append
(
user_ids
[
rand_num
])
...
...
auto_comment2.py
View file @
53e387ac
...
...
@@ -35,6 +35,7 @@ if __name__ == "__main__":
randoms_id
=
[]
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 @
53e387ac
...
...
@@ -2,9 +2,9 @@ import time
import
pymysql
import
random
import
traceback
#
from log_settings import *
from
log_settings
import
*
import
logging
from
auto_request
import
login
,
click
,
time_conv
,
get_comment
,
reply
from
auto_request
import
login
,
get_comment
,
reply
def
write_id_file
():
...
...
@@ -32,7 +32,7 @@ if __name__ == "__main__":
lenn
=
len
(
user_ids
)
randoms_id
=
[]
for
i
in
range
(
int
(
lenn
/
2
)):
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