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
024e673e
Commit
024e673e
authored
Apr 26, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
fdd995ee
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
37 deletions
+34
-37
workspace.xml
.idea/workspace.xml
+31
-30
auto_click1.py
auto_click1.py
+2
-2
auto_comment1.py
auto_comment1.py
+1
-5
No files found.
.idea/workspace.xml
View file @
024e673e
...
...
@@ -44,7 +44,7 @@
<entry
key=
"comment"
value=
"59"
/>
<entry
key=
"dummy"
value=
"7"
/>
<entry
key=
"guanshui"
value=
"2"
/>
<entry
key=
"py"
value=
"78
17
"
/>
<entry
key=
"py"
value=
"78
29
"
/>
<entry
key=
"txt"
value=
"86"
/>
<entry
key=
"xuqiu"
value=
"223"
/>
</counts>
...
...
@@ -52,7 +52,7 @@
<usages-collector
id=
"statistics.file.types.edit"
>
<counts>
<entry
key=
"PLAIN_TEXT"
value=
"377"
/>
<entry
key=
"Python"
value=
"78
17
"
/>
<entry
key=
"Python"
value=
"78
29
"
/>
</counts>
</usages-collector>
</session>
...
...
@@ -123,11 +123,11 @@
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_click1.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
323
"
>
<caret
line=
"
42"
column=
"8"
selection-start-line=
"42"
selection-start-column=
"8"
selection-end-line=
"42"
selection-end-column=
"8
"
/>
<state
relative-caret-position=
"
299
"
>
<caret
line=
"
20"
column=
"12"
lean-forward=
"true"
selection-start-line=
"20"
selection-start-column=
"12"
selection-end-line=
"20"
selection-end-column=
"12
"
/>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
<marker
date=
"1556242
540000"
expanded=
"true"
signature=
"1254:1443
"
ph=
"..."
/>
<marker
date=
"1556242
928000"
expanded=
"true"
signature=
"1258:1447
"
ph=
"..."
/>
</folding>
</state>
</provider>
...
...
@@ -148,7 +148,7 @@
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_click3.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
227
"
>
<state
relative-caret-position=
"
585
"
>
<caret
line=
"39"
column=
"26"
lean-forward=
"true"
selection-start-line=
"39"
selection-start-column=
"26"
selection-end-line=
"39"
selection-end-column=
"26"
/>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
...
...
@@ -160,8 +160,8 @@
<file
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/auto_comment1.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
282
"
>
<caret
line=
"
61"
selection-start-line=
"61"
selection-end-line=
"61
"
/>
<state
relative-caret-position=
"
644
"
>
<caret
line=
"
83"
column=
"38"
lean-forward=
"true"
selection-start-line=
"83"
selection-start-column=
"38"
selection-end-line=
"83"
selection-end-column=
"38
"
/>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
</folding>
...
...
@@ -301,9 +301,9 @@
<option
value=
"$PROJECT_DIR$/auto_click2.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click3.py"
/>
<option
value=
"$PROJECT_DIR$/auto_comment2.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click1.py"
/>
<option
value=
"$PROJECT_DIR$/auto_comment3.py"
/>
<option
value=
"$PROJECT_DIR$/auto_comment1.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click1.py"
/>
</list>
</option>
</component>
...
...
@@ -521,6 +521,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"
/>
...
...
@@ -534,7 +535,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.
20032841
"
/>
<window_info
active=
"true"
anchor=
"bottom"
id=
"Terminal"
order=
"8"
visible=
"true"
weight=
"0.
0
"
/>
<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"
/>
...
...
@@ -814,51 +815,51 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_c
lick3
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_c
ommnet
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
22
7"
>
<caret
line=
"
39"
column=
"26"
lean-forward=
"true"
selection-start-line=
"39"
selection-start-column=
"26"
selection-end-line=
"39"
selection-end-column=
"26
"
/>
<state
relative-caret-position=
"
48
7"
>
<caret
line=
"
75"
column=
"39"
lean-forward=
"true"
selection-start-line=
"75"
selection-start-column=
"16"
selection-end-line=
"75"
selection-end-column=
"39
"
/>
<folding>
<element
signature=
"e#0#1
1
#0"
expanded=
"true"
/>
<element
signature=
"e#0#1
5
#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_c
ommnet
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_c
lick3
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
487
"
>
<caret
line=
"
75"
column=
"39"
lean-forward=
"true"
selection-start-line=
"75"
selection-start-column=
"16"
selection-end-line=
"75"
selection-end-column=
"39
"
/>
<state
relative-caret-position=
"
585
"
>
<caret
line=
"
39"
column=
"26"
lean-forward=
"true"
selection-start-line=
"39"
selection-start-column=
"26"
selection-end-line=
"39"
selection-end-column=
"26
"
/>
<folding>
<element
signature=
"e#0#1
5
#0"
expanded=
"true"
/>
<element
signature=
"e#0#1
1
#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_c
lick1
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_c
omment3
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
323
"
>
<caret
line=
"
42"
column=
"8"
selection-start-line=
"42"
selection-start-column=
"8"
selection-end-line=
"42"
selection-end-column=
"8
"
/>
<state
relative-caret-position=
"
270
"
>
<caret
line=
"
18"
column=
"23"
selection-start-line=
"18"
selection-start-column=
"23"
selection-end-line=
"18"
selection-end-column=
"23
"
/>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
<marker
date=
"1556242540000"
expanded=
"true"
signature=
"1254:1443"
ph=
"..."
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_c
omment2
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_c
lick1
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
825
"
>
<caret
line=
"
55"
column=
"36"
lean-forward=
"true"
selection-start-line=
"55"
selection-start-column=
"36"
selection-end-line=
"55"
selection-end-column=
"36
"
/>
<state
relative-caret-position=
"
299
"
>
<caret
line=
"
20"
column=
"12"
lean-forward=
"true"
selection-start-line=
"20"
selection-start-column=
"12"
selection-end-line=
"20"
selection-end-column=
"12
"
/>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
<marker
date=
"1556242928000"
expanded=
"true"
signature=
"1258:1447"
ph=
"..."
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_comment
3
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_comment
2
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
270
"
>
<caret
line=
"
18"
column=
"23"
selection-start-line=
"18"
selection-start-column=
"23"
selection-end-line=
"18"
selection-end-column=
"23
"
/>
<state
relative-caret-position=
"
825
"
>
<caret
line=
"
55"
column=
"36"
lean-forward=
"true"
selection-start-line=
"55"
selection-start-column=
"36"
selection-end-line=
"55"
selection-end-column=
"36
"
/>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
</folding>
...
...
@@ -867,8 +868,8 @@
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_comment1.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
282
"
>
<caret
line=
"
61"
selection-start-line=
"61"
selection-end-line=
"61
"
/>
<state
relative-caret-position=
"
644
"
>
<caret
line=
"
83"
column=
"38"
lean-forward=
"true"
selection-start-line=
"83"
selection-start-column=
"38"
selection-end-line=
"83"
selection-end-column=
"38
"
/>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
</folding>
...
...
auto_click1.py
View file @
024e673e
...
...
@@ -14,7 +14,7 @@ def get_data(numtime, numtime2):
cursor
=
pc
.
cursor
()
cursor
.
execute
(
"SELECT user_id,id FROM topic WHERE is_online=1 and (create_time > '
%
s' and create_time < '
%
s')"
%
(
numtime
,
numtime2
))
numtime
,
numtime2
))
data
=
cursor
.
fetchall
()
topic_id
=
list
(
data
)
topic_id_list
=
[]
...
...
@@ -55,7 +55,7 @@ if __name__ == "__main__":
data1
=
open
(
"save_topic_id.txt"
,
"w"
)
data1
.
truncate
()
numtime
,
numtime2
=
time_conv
(
2
0
,
10
)
numtime
,
numtime2
=
time_conv
(
0
,
10
)
user_id
=
get_data
(
numtime
,
numtime
)
dicts
=
{}
...
...
auto_comment1.py
View file @
024e673e
...
...
@@ -84,11 +84,7 @@ if __name__ == "__main__":
write_id_file
(
rand_id
)
reply
(
cook
,
rand_id
,
comment
)
else
:
pass
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
except
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
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