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
5e4d6a92
Commit
5e4d6a92
authored
May 07, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
b8d46e05
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
592 additions
and
461 deletions
+592
-461
encodings.xml
.idea/encodings.xml
+2
-1
workspace.xml
.idea/workspace.xml
+219
-168
auto_click.py
auto_click.py
+79
-0
auto_click1.py
auto_click1.py
+4
-39
auto_click2.py
auto_click2.py
+37
-49
auto_click3.py
auto_click3.py
+37
-44
auto_click4.py
auto_click4.py
+56
-0
auto_click5.py
auto_click5.py
+56
-0
auto_click_instant.py
auto_click_instant.py
+0
-3
auto_comment.py
auto_comment.py
+0
-0
auto_comment1.py
auto_comment1.py
+9
-40
auto_comment2.py
auto_comment2.py
+41
-46
auto_comment3.py
auto_comment3.py
+40
-46
auto_lunch_app.py
auto_lunch_app.py
+2
-1
auto_star_topic.py
auto_star_topic.py
+2
-2
auto_star_urge.py
auto_star_urge.py
+0
-1
auto_urge.py
auto_urge.py
+0
-1
auto_urge_three.py
auto_urge_three.py
+2
-2
auto_user_id.py
auto_user_id.py
+3
-12
offline_comment.py
offline_comment.py
+3
-6
No files found.
.idea/encodings.xml
View file @
5e4d6a92
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<project
version=
"4"
>
<component
name=
"Encoding"
>
<component
name=
"Encoding"
>
<file
url=
"file://$PROJECT_DIR$/auto_comm
ne
t.py"
charset=
"GBK"
/>
<file
url=
"file://$PROJECT_DIR$/auto_comm
en
t.py"
charset=
"GBK"
/>
<file
url=
"file://$PROJECT_DIR$/comment.txt"
charset=
"UTF-8"
/>
<file
url=
"file://$PROJECT_DIR$/comment.txt"
charset=
"UTF-8"
/>
</component>
</component>
</project>
</project>
\ No newline at end of file
.idea/workspace.xml
View file @
5e4d6a92
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"fd1f0b61-1139-44e5-87e7-f8b86ff52376"
name=
"Default Changelist"
comment=
""
/>
<list
default=
"true"
id=
"fd1f0b61-1139-44e5-87e7-f8b86ff52376"
name=
"Default Changelist"
comment=
""
>
<change
afterPath=
"$PROJECT_DIR$/auto_click.py"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/auto_click4.py"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/auto_click5.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/encodings.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/encodings.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_click1.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_click1.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_click2.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_click2.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_click3.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_click3.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_click_instant.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_click_instant.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_comment1.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_comment1.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_comment2.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_comment2.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_comment3.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_comment3.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_commnet.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_comment.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_lunch_app.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_lunch_app.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_star_topic.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_star_topic.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_star_urge.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_star_urge.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_urge.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_urge.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_urge_three.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_urge_three.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_user_id.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_user_id.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/offline_comment.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/offline_comment.py"
afterDir=
"false"
/>
</list>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
@@ -12,12 +33,14 @@
...
@@ -12,12 +33,14 @@
<session
id=
"2133079262"
>
<session
id=
"2133079262"
>
<usages-collector
id=
"statistics.lifecycle.project"
>
<usages-collector
id=
"statistics.lifecycle.project"
>
<counts>
<counts>
<entry
key=
"project.closed"
value=
"
5
"
/>
<entry
key=
"project.closed"
value=
"
7
"
/>
<entry
key=
"project.open.time.0"
value=
"1"
/>
<entry
key=
"project.open.time.0"
value=
"1"
/>
<entry
key=
"project.open.time.1"
value=
"1"
/>
<entry
key=
"project.open.time.2"
value=
"4"
/>
<entry
key=
"project.open.time.2"
value=
"4"
/>
<entry
key=
"project.open.time.29"
value=
"1"
/>
<entry
key=
"project.open.time.5"
value=
"1"
/>
<entry
key=
"project.open.time.5"
value=
"1"
/>
<entry
key=
"project.open.time.7"
value=
"1"
/>
<entry
key=
"project.open.time.7"
value=
"1"
/>
<entry
key=
"project.opened"
value=
"
7
"
/>
<entry
key=
"project.opened"
value=
"
10
"
/>
</counts>
</counts>
</usages-collector>
</usages-collector>
<usages-collector
id=
"statistics.file.extensions.open"
>
<usages-collector
id=
"statistics.file.extensions.open"
>
...
@@ -25,7 +48,7 @@
...
@@ -25,7 +48,7 @@
<entry
key=
"batch_user_gen"
value=
"5"
/>
<entry
key=
"batch_user_gen"
value=
"5"
/>
<entry
key=
"comment"
value=
"2"
/>
<entry
key=
"comment"
value=
"2"
/>
<entry
key=
"guanshui"
value=
"3"
/>
<entry
key=
"guanshui"
value=
"3"
/>
<entry
key=
"py"
value=
"
299
"
/>
<entry
key=
"py"
value=
"
324
"
/>
<entry
key=
"txt"
value=
"10"
/>
<entry
key=
"txt"
value=
"10"
/>
<entry
key=
"xuqiu"
value=
"2"
/>
<entry
key=
"xuqiu"
value=
"2"
/>
</counts>
</counts>
...
@@ -33,23 +56,23 @@
...
@@ -33,23 +56,23 @@
<usages-collector
id=
"statistics.file.types.open"
>
<usages-collector
id=
"statistics.file.types.open"
>
<counts>
<counts>
<entry
key=
"PLAIN_TEXT"
value=
"22"
/>
<entry
key=
"PLAIN_TEXT"
value=
"22"
/>
<entry
key=
"Python"
value=
"
299
"
/>
<entry
key=
"Python"
value=
"
324
"
/>
</counts>
</counts>
</usages-collector>
</usages-collector>
<usages-collector
id=
"statistics.file.extensions.edit"
>
<usages-collector
id=
"statistics.file.extensions.edit"
>
<counts>
<counts>
<entry
key=
"comment"
value=
"59"
/>
<entry
key=
"comment"
value=
"59"
/>
<entry
key=
"dummy"
value=
"
7
"
/>
<entry
key=
"dummy"
value=
"
10
"
/>
<entry
key=
"guanshui"
value=
"2"
/>
<entry
key=
"guanshui"
value=
"2"
/>
<entry
key=
"py"
value=
"7
890
"
/>
<entry
key=
"py"
value=
"7
976
"
/>
<entry
key=
"txt"
value=
"86"
/>
<entry
key=
"txt"
value=
"86"
/>
<entry
key=
"xuqiu"
value=
"223"
/>
<entry
key=
"xuqiu"
value=
"223"
/>
</counts>
</counts>
</usages-collector>
</usages-collector>
<usages-collector
id=
"statistics.file.types.edit"
>
<usages-collector
id=
"statistics.file.types.edit"
>
<counts>
<counts>
<entry
key=
"PLAIN_TEXT"
value=
"3
77
"
/>
<entry
key=
"PLAIN_TEXT"
value=
"3
80
"
/>
<entry
key=
"Python"
value=
"7
890
"
/>
<entry
key=
"Python"
value=
"7
976
"
/>
</counts>
</counts>
</usages-collector>
</usages-collector>
</session>
</session>
...
@@ -118,23 +141,21 @@
...
@@ -118,23 +141,21 @@
<component
name=
"FileEditorManager"
>
<component
name=
"FileEditorManager"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_click
1
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_click
2
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"335"
>
<state>
<caret
line=
"61"
column=
"39"
selection-start-line=
"61"
selection-start-column=
"39"
selection-end-line=
"61"
selection-end-column=
"39"
/>
<folding>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
<element
signature=
"e#2#13#0"
expanded=
"true"
/>
<marker
date=
"1556247886000"
expanded=
"true"
signature=
"1410:1599"
ph=
"..."
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/auto_click
2
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_click
3
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
2
09"
>
<state
relative-caret-position=
"
5
09"
>
<caret
line=
"
47"
lean-forward=
"true"
selection-start-line=
"47"
selection-end-line=
"47
"
/>
<caret
line=
"
52"
selection-start-line=
"52"
selection-end-line=
"52
"
/>
<folding>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
</folding>
</folding>
...
@@ -143,10 +164,10 @@
...
@@ -143,10 +164,10 @@
</entry>
</entry>
</file>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_click
3
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_click
4
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
585
"
>
<state
relative-caret-position=
"
464
"
>
<caret
line=
"
39"
column=
"26"
lean-forward=
"true"
selection-start-line=
"39"
selection-start-column=
"26"
selection-end-line=
"39"
selection-end-column=
"26
"
/>
<caret
line=
"
52"
selection-start-line=
"52"
selection-end-line=
"52
"
/>
<folding>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
</folding>
</folding>
...
@@ -155,10 +176,10 @@
...
@@ -155,10 +176,10 @@
</entry>
</entry>
</file>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_c
omment1
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_c
lick5
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
290
"
>
<state
relative-caret-position=
"
449
"
>
<caret
line=
"
54"
lean-forward=
"true"
selection-start-line=
"54"
selection-end-line=
"54
"
/>
<caret
line=
"
48"
column=
"36"
selection-start-line=
"48"
selection-start-column=
"36"
selection-end-line=
"48"
selection-end-column=
"36
"
/>
<folding>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
</folding>
</folding>
...
@@ -167,54 +188,69 @@
...
@@ -167,54 +188,69 @@
</entry>
</entry>
</file>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_comment
2
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_comment.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
825
"
>
<state
relative-caret-position=
"
554
"
>
<caret
line=
"
55"
column=
"36"
lean-forward=
"true"
selection-start-line=
"55"
selection-start-column=
"36"
selection-end-line=
"55"
selection-end-column=
"36
"
/>
<caret
line=
"
90"
selection-start-line=
"90"
selection-end-line=
"90
"
/>
<folding>
<folding>
<element
signature=
"e#0#1
1
#0"
expanded=
"true"
/>
<element
signature=
"e#0#1
5
#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_comment
3
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_comment
1
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
270
"
>
<state
relative-caret-position=
"
494
"
>
<caret
line=
"
18"
column=
"23"
selection-start-line=
"18"
selection-start-column=
"23"
selection-end-line=
"18"
selection-end-column=
"23
"
/>
<caret
line=
"
59"
selection-start-line=
"59"
selection-end-line=
"59
"
/>
<folding>
<folding>
<element
signature=
"e#0#1
1
#0"
expanded=
"true"
/>
<element
signature=
"e#0#1
4
#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/
batch_user_gen
"
>
<entry
file=
"file://$PROJECT_DIR$/
auto_comment2.py
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1165"
>
<state
relative-caret-position=
"314"
>
<caret
line=
"299"
column=
"3"
selection-start-line=
"299"
selection-start-column=
"3"
selection-end-line=
"299"
selection-end-column=
"4"
/>
<caret
line=
"49"
column=
"18"
lean-forward=
"true"
selection-start-line=
"49"
selection-start-column=
"18"
selection-end-line=
"49"
selection-end-column=
"18"
/>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/
save_topic_id_comment_three.txt
"
>
<entry
file=
"file://$PROJECT_DIR$/
auto_comment3.py
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"45"
>
<state
relative-caret-position=
"314"
>
<caret
line=
"3"
column=
"2"
selection-start-line=
"3"
selection-start-column=
"2"
selection-end-line=
"3"
selection-end-column=
"2"
/>
<caret
line=
"50"
column=
"19"
selection-start-line=
"50"
selection-start-column=
"19"
selection-end-line=
"50"
selection-end-column=
"19"
/>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/offline_comment.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"705"
>
<caret
line=
"54"
column=
"20"
lean-forward=
"true"
selection-start-line=
"54"
selection-start-column=
"20"
selection-end-line=
"54"
selection-end-column=
"20"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
request
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
click1
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
194
"
>
<state
relative-caret-position=
"
509
"
>
<caret
line=
"
147"
column=
"32"
selection-start-line=
"147"
selection-start-column=
"32"
selection-end-line=
"147"
selection-end-column=
"3
2"
/>
<caret
line=
"
52"
lean-forward=
"true"
selection-start-line=
"52"
selection-end-line=
"5
2"
/>
<folding>
<folding>
<element
signature=
"e#0#1
5
#0"
expanded=
"true"
/>
<element
signature=
"e#0#1
1
#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
...
@@ -250,8 +286,6 @@
...
@@ -250,8 +286,6 @@
<component
name=
"IdeDocumentHistory"
>
<component
name=
"IdeDocumentHistory"
>
<option
name=
"CHANGED_PATHS"
>
<option
name=
"CHANGED_PATHS"
>
<list>
<list>
<option
value=
"$PROJECT_DIR$/auto_star_pick.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click_one.py"
/>
<option
value=
"$PROJECT_DIR$/dd.py"
/>
<option
value=
"$PROJECT_DIR$/dd.py"
/>
<option
value=
"$PROJECT_DIR$/batch user gen"
/>
<option
value=
"$PROJECT_DIR$/batch user gen"
/>
<option
value=
"$PROJECT_DIR$/user_session"
/>
<option
value=
"$PROJECT_DIR$/user_session"
/>
...
@@ -273,38 +307,40 @@
...
@@ -273,38 +307,40 @@
<option
value=
"$PROJECT_DIR$/_celery.py"
/>
<option
value=
"$PROJECT_DIR$/_celery.py"
/>
<option
value=
"$PROJECT_DIR$/comment.txt"
/>
<option
value=
"$PROJECT_DIR$/comment.txt"
/>
<option
value=
"$PROJECT_DIR$/auto_at_once.py"
/>
<option
value=
"$PROJECT_DIR$/auto_at_once.py"
/>
<option
value=
"$PROJECT_DIR$/auto_user_id.py"
/>
<option
value=
"$PROJECT_DIR$/instant.py"
/>
<option
value=
"$PROJECT_DIR$/instant.py"
/>
<option
value=
"$PROJECT_DIR$/com.py"
/>
<option
value=
"$PROJECT_DIR$/com.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click_n.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click_n.py"
/>
<option
value=
"$PROJECT_DIR$/auto_commnet.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow_majia.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow_majia.py"
/>
<option
value=
"$PROJECT_DIR$/auto_lunch_app.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow_new.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow_one.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge_three.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge.py"
/>
<option
value=
"$PROJECT_DIR$/auto_star_urge.py"
/>
<option
value=
"$PROJECT_DIR$/auto_star_topic.py"
/>
<option
value=
"$PROJECT_DIR$/auto_every_day.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click_instant.py"
/>
<option
value=
"$PROJECT_DIR$/offline_comment.py"
/>
<option
value=
"$PROJECT_DIR$/testss.py"
/>
<option
value=
"$PROJECT_DIR$/testss.py"
/>
<option
value=
"$PROJECT_DIR$/test.py"
/>
<option
value=
"$PROJECT_DIR$/test.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click.py"
/>
<option
value=
"$PROJECT_DIR$/save_topic_id_comment_three.txt"
/>
<option
value=
"$PROJECT_DIR$/save_topic_id_comment_three.txt"
/>
<option
value=
"$PROJECT_DIR$/auto_request.py"
/>
<option
value=
"$PROJECT_DIR$/auto_request.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click_instant.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click.py"
/>
<option
value=
"$PROJECT_DIR$/auto_commnet.py"
/>
<option
value=
"$PROJECT_DIR$/auto_every_day.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow_new.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow_one.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow.py"
/>
<option
value=
"$PROJECT_DIR$/auto_lunch_app.py"
/>
<option
value=
"$PROJECT_DIR$/auto_star_topic.py"
/>
<option
value=
"$PROJECT_DIR$/auto_star_urge.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge_three.py"
/>
<option
value=
"$PROJECT_DIR$/auto_user_id.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click1.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click2.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click2.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click3.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click3.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click4.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click5.py"
/>
<option
value=
"$PROJECT_DIR$/auto_comment1.py"
/>
<option
value=
"$PROJECT_DIR$/auto_comment2.py"
/>
<option
value=
"$PROJECT_DIR$/auto_comment2.py"
/>
<option
value=
"$PROJECT_DIR$/auto_comment3.py"
/>
<option
value=
"$PROJECT_DIR$/auto_comment3.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click1.py"
/>
<option
value=
"$PROJECT_DIR$/offline_comment.py"
/>
<option
value=
"$PROJECT_DIR$/auto_comment1.py"
/>
</list>
</list>
</option>
</option>
</component>
</component>
<component
name=
"ProjectFrameBounds"
>
<component
name=
"ProjectFrameBounds"
extendedState=
"1"
>
<option
name=
"y"
value=
"23"
/>
<option
name=
"y"
value=
"23"
/>
<option
name=
"width"
value=
"1280"
/>
<option
name=
"width"
value=
"1280"
/>
<option
name=
"height"
value=
"724"
/>
<option
name=
"height"
value=
"724"
/>
...
@@ -314,7 +350,6 @@
...
@@ -314,7 +350,6 @@
<foldersAlwaysOnTop
value=
"true"
/>
<foldersAlwaysOnTop
value=
"true"
/>
</navigator>
</navigator>
<panes>
<panes>
<pane
id=
"Scope"
/>
<pane
id=
"ProjectPane"
>
<pane
id=
"ProjectPane"
>
<subPane>
<subPane>
<expand>
<expand>
...
@@ -326,6 +361,7 @@
...
@@ -326,6 +361,7 @@
<select
/>
<select
/>
</subPane>
</subPane>
</pane>
</pane>
<pane
id=
"Scope"
/>
</panes>
</panes>
</component>
</component>
<component
name=
"PropertiesComponent"
>
<component
name=
"PropertiesComponent"
>
...
@@ -410,7 +446,7 @@
...
@@ -410,7 +446,7 @@
<option
name=
"IS_MODULE_SDK"
value=
"true"
/>
<option
name=
"IS_MODULE_SDK"
value=
"true"
/>
<option
name=
"ADD_CONTENT_ROOTS"
value=
"true"
/>
<option
name=
"ADD_CONTENT_ROOTS"
value=
"true"
/>
<option
name=
"ADD_SOURCE_ROOTS"
value=
"true"
/>
<option
name=
"ADD_SOURCE_ROOTS"
value=
"true"
/>
<option
name=
"SCRIPT_NAME"
value=
"$PROJECT_DIR$/auto_comm
ne
t.py"
/>
<option
name=
"SCRIPT_NAME"
value=
"$PROJECT_DIR$/auto_comm
en
t.py"
/>
<option
name=
"PARAMETERS"
value=
""
/>
<option
name=
"PARAMETERS"
value=
""
/>
<option
name=
"SHOW_COMMAND_LINE"
value=
"false"
/>
<option
name=
"SHOW_COMMAND_LINE"
value=
"false"
/>
<option
name=
"EMULATE_TERMINAL"
value=
"false"
/>
<option
name=
"EMULATE_TERMINAL"
value=
"false"
/>
...
@@ -517,12 +553,12 @@
...
@@ -517,12 +553,12 @@
<servers
/>
<servers
/>
</component>
</component>
<component
name=
"ToolWindowManager"
>
<component
name=
"ToolWindowManager"
>
<frame
x=
"0"
y=
"23"
width=
"1280"
height=
"724"
extended-state=
"
0
"
/>
<frame
x=
"0"
y=
"23"
width=
"1280"
height=
"724"
extended-state=
"
1
"
/>
<editor
active=
"true"
/>
<editor
active=
"true"
/>
<layout>
<layout>
<window_info
id=
"Structure"
order=
"0"
sideWeight=
"0.21188119"
side_tool=
"true"
weight=
"0.19112115"
/>
<window_info
id=
"Structure"
order=
"0"
sideWeight=
"0.21188119"
side_tool=
"true"
weight=
"0.19112115"
/>
<window_info
id=
"Favorites"
order=
"1"
side_tool=
"true"
/>
<window_info
id=
"Favorites"
order=
"1"
side_tool=
"true"
/>
<window_info
content_ui=
"combo"
id=
"Project"
order=
"2"
sideWeight=
"0.7872763"
visible=
"true"
weight=
"0.17871326
"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"2"
sideWeight=
"0.7872763"
visible=
"true"
weight=
"0.19936457
"
/>
<window_info
id=
"DB Browser"
order=
"3"
/>
<window_info
id=
"DB Browser"
order=
"3"
/>
<window_info
anchor=
"bottom"
id=
"Message"
order=
"0"
/>
<window_info
anchor=
"bottom"
id=
"Message"
order=
"0"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
weight=
"0.3284974"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
weight=
"0.3284974"
/>
...
@@ -532,7 +568,7 @@
...
@@ -532,7 +568,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
a
ctive=
"true"
anchor=
"bottom"
id=
"Terminal"
order=
"8"
visible=
"true
"
weight=
"0.0"
/>
<window_info
a
nchor=
"bottom"
id=
"Terminal"
order=
"8
"
weight=
"0.0"
/>
<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=
"bottom"
id=
"DB Execution Console"
order=
"11"
/>
<window_info
anchor=
"bottom"
id=
"DB Execution Console"
order=
"11"
/>
...
@@ -543,17 +579,17 @@
...
@@ -543,17 +579,17 @@
<layout-to-restore>
<layout-to-restore>
<window_info
id=
"Structure"
order=
"0"
sideWeight=
"0.21188119"
side_tool=
"true"
weight=
"0.19112115"
/>
<window_info
id=
"Structure"
order=
"0"
sideWeight=
"0.21188119"
side_tool=
"true"
weight=
"0.19112115"
/>
<window_info
id=
"Favorites"
order=
"1"
side_tool=
"true"
/>
<window_info
id=
"Favorites"
order=
"1"
side_tool=
"true"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"2"
sideWeight=
"0.7872763"
visible=
"true"
weight=
"0.
20889595
"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"2"
sideWeight=
"0.7872763"
visible=
"true"
weight=
"0.
19936457
"
/>
<window_info
id=
"DB Browser"
order=
"3"
/>
<window_info
id=
"DB Browser"
order=
"3"
/>
<window_info
anchor=
"bottom"
id=
"Message"
order=
"0"
/>
<window_info
anchor=
"bottom"
id=
"Message"
order=
"0"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
weight=
"0.3284974"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
weight=
"0.3284974"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"2"
weight=
"0.
3295082
"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"2"
weight=
"0.
0
"
/>
<window_info
anchor=
"bottom"
id=
"Debug"
order=
"3"
weight=
"0.563
63636
"
/>
<window_info
anchor=
"bottom"
id=
"Debug"
order=
"3"
weight=
"0.563
2184
"
/>
<window_info
anchor=
"bottom"
id=
"Cvs"
order=
"4"
weight=
"0.25"
/>
<window_info
anchor=
"bottom"
id=
"Cvs"
order=
"4"
weight=
"0.25"
/>
<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
anchor=
"bottom"
id=
"Terminal"
order=
"8"
visible=
"true"
weight=
"0.
36288998
"
/>
<window_info
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=
"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=
"bottom"
id=
"DB Execution Console"
order=
"11"
/>
<window_info
anchor=
"bottom"
id=
"DB Execution Console"
order=
"11"
/>
...
@@ -568,11 +604,6 @@
...
@@ -568,11 +604,6 @@
<component
name=
"XDebuggerManager"
>
<component
name=
"XDebuggerManager"
>
<breakpoint-manager>
<breakpoint-manager>
<breakpoints>
<breakpoints>
<line-breakpoint
enabled=
"true"
suspend=
"THREAD"
type=
"python-line"
>
<url>
file://$PROJECT_DIR$/auto_every_day.py
</url>
<line>
12
</line>
<option
name=
"timeStamp"
value=
"3"
/>
</line-breakpoint>
<line-breakpoint
enabled=
"true"
suspend=
"THREAD"
type=
"python-line"
>
<line-breakpoint
enabled=
"true"
suspend=
"THREAD"
type=
"python-line"
>
<url>
file://$PROJECT_DIR$/auto_star_topic.py
</url>
<url>
file://$PROJECT_DIR$/auto_star_topic.py
</url>
<line>
12
</line>
<line>
12
</line>
...
@@ -583,15 +614,15 @@
...
@@ -583,15 +614,15 @@
<line>
12
</line>
<line>
12
</line>
<option
name=
"timeStamp"
value=
"5"
/>
<option
name=
"timeStamp"
value=
"5"
/>
</line-breakpoint>
</line-breakpoint>
<line-breakpoint
enabled=
"true"
suspend=
"THREAD"
type=
"python-line"
>
<url>
file://$PROJECT_DIR$/auto_urge.py
</url>
<option
name=
"timeStamp"
value=
"7"
/>
</line-breakpoint>
<line-breakpoint
enabled=
"true"
suspend=
"THREAD"
type=
"python-line"
>
<line-breakpoint
enabled=
"true"
suspend=
"THREAD"
type=
"python-line"
>
<url>
file://$PROJECT_DIR$/test.py
</url>
<url>
file://$PROJECT_DIR$/test.py
</url>
<line>
39
</line>
<line>
39
</line>
<option
name=
"timeStamp"
value=
"8"
/>
<option
name=
"timeStamp"
value=
"8"
/>
</line-breakpoint>
</line-breakpoint>
<line-breakpoint
enabled=
"true"
suspend=
"THREAD"
type=
"python-line"
>
<url>
file://$PROJECT_DIR$/auto_click_instant.py
</url>
<option
name=
"timeStamp"
value=
"9"
/>
</line-breakpoint>
</breakpoints>
</breakpoints>
<breakpoints-dialog>
<breakpoints-dialog>
<breakpoints-dialog
/>
<breakpoints-dialog
/>
...
@@ -606,9 +637,6 @@
...
@@ -606,9 +637,6 @@
</breakpoint-manager>
</breakpoint-manager>
</component>
</component>
<component
name=
"editorHistoryManager"
>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/auto_pick.py"
/>
<entry
file=
"file://$PROJECT_DIR$/auto_pick_five.py"
/>
<entry
file=
"file://$PROJECT_DIR$/auto_star_pick.py"
/>
<entry
file=
"file://$PROJECT_DIR$/dd.py"
/>
<entry
file=
"file://$PROJECT_DIR$/dd.py"
/>
<entry
file=
"file://$PROJECT_DIR$/user_session"
/>
<entry
file=
"file://$PROJECT_DIR$/user_session"
/>
<entry
file=
"file://$PROJECT_DIR$/user_session.json"
/>
<entry
file=
"file://$PROJECT_DIR$/user_session.json"
/>
...
@@ -652,149 +680,146 @@
...
@@ -652,149 +680,146 @@
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_follow_majia.py"
/>
<entry
file=
"file://$PROJECT_DIR$/auto_follow_majia.py"
/>
<entry
file=
"file://$PROJECT_DIR$/auto_click_n.py"
/>
<entry
file=
"file://$PROJECT_DIR$/auto_click_n.py"
/>
<entry
file=
"file://$PROJECT_DIR$/
auto_urge.py
"
>
<entry
file=
"file://$PROJECT_DIR$/
user_session.txt
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"324"
>
<state
relative-caret-position=
"810"
>
<caret
line=
"50"
column=
"52"
selection-start-line=
"50"
selection-start-column=
"52"
selection-end-line=
"50"
selection-end-column=
"52"
/>
<caret
line=
"54"
column=
"16"
selection-start-line=
"54"
selection-end-line=
"55"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_star_urge.py"
>
<entry
file=
"file://$PROJECT_DIR$/testss.py"
/>
<entry
file=
"file://$PROJECT_DIR$/batch_user_gen"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"632"
>
<state
relative-caret-position=
"4485"
>
<caret
line=
"47"
column=
"54"
selection-start-line=
"47"
selection-start-column=
"54"
selection-end-line=
"47"
selection-end-column=
"54"
/>
<caret
line=
"299"
column=
"3"
selection-start-line=
"299"
selection-start-column=
"3"
selection-end-line=
"299"
selection-end-column=
"4"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
auto_follow.py
"
>
<entry
file=
"file://$PROJECT_DIR$/
save_topic_id_comment_three.txt
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
566
"
>
<state
relative-caret-position=
"
45
"
>
<caret
line=
"
70"
column=
"28"
selection-start-line=
"70"
selection-start-column=
"28"
selection-end-line=
"70"
selection-end-column=
"28
"
/>
<caret
line=
"
3"
column=
"2"
selection-start-line=
"3"
selection-start-column=
"2"
selection-end-line=
"3"
selection-end-column=
"2
"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
urge_three
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
click_instant
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
833
"
>
<state
relative-caret-position=
"
180
"
>
<caret
line=
"
64"
selection-start-line=
"64"
selection-end-line=
"64
"
/>
<caret
line=
"
19"
column=
"3"
lean-forward=
"true"
selection-start-line=
"19"
selection-start-column=
"3"
selection-end-line=
"19"
selection-end-column=
"3
"
/>
<folding>
<folding>
<element
signature=
"e#
0#15#0"
expanded=
"true
"
/>
<element
signature=
"e#
1113#1901#0
"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
user_session.txt
"
>
<entry
file=
"file://$PROJECT_DIR$/
auto_click.py
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"810"
>
<state
relative-caret-position=
"554"
>
<caret
line=
"54"
column=
"16"
selection-start-line=
"54"
selection-end-line=
"55"
/>
<caret
line=
"77"
column=
"73"
selection-start-line=
"77"
selection-start-column=
"73"
selection-end-line=
"77"
selection-end-column=
"73"
/>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/testss.py"
/>
<entry
file=
"file://$PROJECT_DIR$/auto_every_day.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_lunch_app.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
315
"
>
<state
relative-caret-position=
"
434
"
>
<caret
line=
"
21"
column=
"37"
selection-start-line=
"21"
selection-start-column=
"37"
selection-end-line=
"21"
selection-end-column=
"37
"
/>
<caret
line=
"
72"
column=
"34"
selection-start-line=
"72"
selection-start-column=
"34"
selection-end-line=
"72"
selection-end-column=
"34
"
/>
<folding>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
user_id
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
follow_new
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
345
"
>
<state
relative-caret-position=
"
494
"
>
<caret
line=
"
23"
column=
"13"
selection-start-line=
"23"
selection-start-column=
"13"
selection-end-line=
"23"
selection-end-column=
"13
"
/>
<caret
line=
"
128"
selection-start-line=
"128"
selection-end-line=
"128
"
/>
<folding>
<folding>
<element
signature=
"e#
1
#15#0"
expanded=
"true"
/>
<element
signature=
"e#
0
#15#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
every_day
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
follow_one
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
795
"
>
<state
relative-caret-position=
"
307
"
>
<caret
line=
"5
3"
column=
"26"
selection-start-line=
"53"
selection-start-column=
"26"
selection-end-line=
"53"
selection-end-column=
"26
"
/>
<caret
line=
"5
1"
lean-forward=
"true"
selection-start-line=
"51"
selection-end-line=
"51
"
/>
<folding>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_follow
_new
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_follow.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"560"
>
<state
relative-caret-position=
"554"
>
<caret
line=
"125"
selection-start-line=
"125"
selection-end-line=
"125"
/>
<caret
line=
"74"
lean-forward=
"true"
selection-start-line=
"74"
selection-end-line=
"74"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
test
.py"
>
<entry
file=
"file://$PROJECT_DIR$/
auto_lunch_app
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-3"
>
<state
relative-caret-position=
"690"
>
<caret
line=
"21"
column=
"14"
selection-start-line=
"21"
selection-start-column=
"14"
selection-end-line=
"21"
selection-end-column=
"14"
/>
<caret
line=
"55"
column=
"73"
selection-start-line=
"55"
selection-start-column=
"73"
selection-end-line=
"55"
selection-end-column=
"73"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
offline_comment
.py"
>
<entry
file=
"file://$PROJECT_DIR$/
auto_star_topic
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"885"
>
<state
relative-caret-position=
"719"
>
<caret
line=
"59"
column=
"97"
selection-start-line=
"59"
selection-start-column=
"97"
selection-end-line=
"59"
selection-end-column=
"97"
/>
<caret
line=
"90"
lean-forward=
"true"
selection-start-line=
"90"
selection-end-line=
"90"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
click_instant
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
star_urge
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
3
54"
>
<state
relative-caret-position=
"
5
54"
>
<caret
line=
"68"
selection-start-line=
"68"
selection-end-line=
"68"
/>
<caret
line=
"68"
lean-forward=
"true"
selection-start-line=
"68"
selection-end-line=
"68"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
follow_on
e.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
urg
e.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-870"
>
<state
relative-caret-position=
"554"
>
<caret
line=
"12"
column=
"22"
selection-start-line=
"12"
selection-start-column=
"22"
selection-end-line=
"12"
selection-end-column=
"22"
/>
<caret
line=
"69"
column=
"73"
selection-start-line=
"69"
selection-start-column=
"73"
selection-end-line=
"69"
selection-end-column=
"73"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
star_topic
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
urge_three
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
710
"
>
<state
relative-caret-position=
"
554
"
>
<caret
line=
"
48"
column=
"48"
selection-start-line=
"48"
selection-start-column=
"48"
selection-end-line=
"48"
selection-end-column=
"48
"
/>
<caret
line=
"
65"
column=
"73"
selection-start-line=
"65"
selection-start-column=
"73"
selection-end-line=
"65"
selection-end-column=
"73
"
/>
<folding>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
save_topic_id_comment_three.txt
"
>
<entry
file=
"file://$PROJECT_DIR$/
auto_user_id.py
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
4
5"
>
<state
relative-caret-position=
"
16
5"
>
<caret
line=
"
3"
column=
"2"
selection-start-line=
"3"
selection-start-column=
"2"
selection-end-line=
"3"
selection-end-column=
"2
"
/>
<caret
line=
"
15"
column=
"18"
selection-start-line=
"15"
selection-start-column=
"18"
selection-end-line=
"15"
selection-end-column=
"18
"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
batch_user_gen
"
>
<entry
file=
"file://$PROJECT_DIR$/
test.py
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
1165
"
>
<state
relative-caret-position=
"
-31
"
>
<caret
line=
"2
99"
column=
"3"
selection-start-line=
"299"
selection-start-column=
"3"
selection-end-line=
"299"
selection-end-column=
"
4"
/>
<caret
line=
"2
1"
column=
"14"
selection-start-line=
"21"
selection-start-column=
"14"
selection-end-line=
"21"
selection-end-column=
"1
4"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_request.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_request.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
19
4"
>
<state
relative-caret-position=
"
55
4"
>
<caret
line=
"147"
column=
"32"
selection-start-line=
"147"
selection-start-column=
"32"
selection-end-line=
"147"
selection-end-column=
"32"
/>
<caret
line=
"147"
column=
"32"
selection-start-line=
"147"
selection-start-column=
"32"
selection-end-line=
"147"
selection-end-column=
"32"
/>
<folding>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
...
@@ -802,76 +827,101 @@
...
@@ -802,76 +827,101 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_c
ommnet
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_c
lick1
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
487
"
>
<state
relative-caret-position=
"
509
"
>
<caret
line=
"
75"
column=
"39"
lean-forward=
"true"
selection-start-line=
"75"
selection-start-column=
"16"
selection-end-line=
"75"
selection-end-column=
"39
"
/>
<caret
line=
"
52"
lean-forward=
"true"
selection-start-line=
"52"
selection-end-line=
"52
"
/>
<folding>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_click2.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state>
<folding>
<element
signature=
"e#2#13#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_click3.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_click3.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"5
85
"
>
<state
relative-caret-position=
"5
09
"
>
<caret
line=
"
39"
column=
"26"
lean-forward=
"true"
selection-start-line=
"39"
selection-start-column=
"26"
selection-end-line=
"39"
selection-end-column=
"26
"
/>
<caret
line=
"
52"
selection-start-line=
"52"
selection-end-line=
"52
"
/>
<folding>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_c
omment3
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_c
lick4
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
270
"
>
<state
relative-caret-position=
"
464
"
>
<caret
line=
"
18"
column=
"23"
selection-start-line=
"18"
selection-start-column=
"23"
selection-end-line=
"18"
selection-end-column=
"23
"
/>
<caret
line=
"
52"
selection-start-line=
"52"
selection-end-line=
"52
"
/>
<folding>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_c
omment2
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_c
lick5
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
825
"
>
<state
relative-caret-position=
"
449
"
>
<caret
line=
"
55"
column=
"36"
lean-forward=
"true"
selection-start-line=
"55"
selection-start-column=
"36"
selection-end-line=
"55
"
selection-end-column=
"36"
/>
<caret
line=
"
48"
column=
"36"
selection-start-line=
"48"
selection-start-column=
"36"
selection-end-line=
"48
"
selection-end-column=
"36"
/>
<folding>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_c
lick1
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_c
omment
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
335
"
>
<state
relative-caret-position=
"
554
"
>
<caret
line=
"
61"
column=
"39"
selection-start-line=
"61"
selection-start-column=
"39"
selection-end-line=
"61"
selection-end-column=
"39
"
/>
<caret
line=
"
90"
selection-start-line=
"90"
selection-end-line=
"90
"
/>
<folding>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<marker
date=
"1556247886000"
expanded=
"true"
signature=
"1410:1599"
ph=
"..."
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_comment1.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_comment1.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"290"
>
<state
relative-caret-position=
"494"
>
<caret
line=
"54"
lean-forward=
"true"
selection-start-line=
"54"
selection-end-line=
"54"
/>
<caret
line=
"59"
selection-start-line=
"59"
selection-end-line=
"59"
/>
<folding>
<element
signature=
"e#0#14#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=
"314"
>
<caret
line=
"49"
column=
"18"
lean-forward=
"true"
selection-start-line=
"49"
selection-start-column=
"18"
selection-end-line=
"49"
selection-end-column=
"18"
/>
<folding>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_c
lick2
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_c
omment3
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
209
"
>
<state
relative-caret-position=
"
314
"
>
<caret
line=
"
47"
lean-forward=
"true"
selection-start-line=
"47"
selection-end-line=
"47
"
/>
<caret
line=
"
50"
column=
"19"
selection-start-line=
"50"
selection-start-column=
"19"
selection-end-line=
"50"
selection-end-column=
"19
"
/>
<folding>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/offline_comment.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"705"
>
<caret
line=
"54"
column=
"20"
lean-forward=
"true"
selection-start-line=
"54"
selection-start-column=
"20"
selection-end-line=
"54"
selection-end-column=
"20"
/>
</state>
</provider>
</entry>
</component>
</component>
</project>
</project>
\ No newline at end of file
auto_click.py
0 → 100644
View file @
5e4d6a92
import
time
import
pymysql
import
random
import
traceback
from
log_settings
import
*
import
logging
from
auto_request
import
login
,
click
,
time_convs
from
auto_request
import
host
,
user
,
db
,
passwd
def
get_data
(
numtime
,
numtime2
):
try
:
pc
=
pymysql
.
connect
(
host
=
host
,
user
=
user
,
passwd
=
passwd
,
db
=
db
,
port
=
3306
)
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
))
data
=
cursor
.
fetchall
()
topic_id
=
list
(
data
)
topic_id_list
=
[]
for
i
in
topic_id
and
topic_id
:
cursor
.
execute
(
"select user_id from user_extra where user_id ="
+
str
(
i
[
0
])
+
" and is_shadow =0"
)
data
=
cursor
.
fetchall
()
user_id
=
list
(
data
)
if
user_id
:
topic_id_list
.
append
(
i
)
logging
.
info
(
"Database version :
%
s "
%
topic_id_list
)
pc
.
close
()
return
topic_id_list
except
:
logging
.
error
(
"catch exception,get_data:
%
s"
%
traceback
.
format_exc
())
return
[]
if
__name__
==
"__main__"
:
try
:
time_list
=
[
1
,
2
,
3
,
4
,
5
,
6
,
7
]
for
i
in
time_list
:
numtime
,
numtime2
=
time_convs
(
i
+
1
,
i
-
1
)
user_id
=
get_data
(
numtime
,
numtime2
)
dicts
=
{}
if
user_id
:
for
i
in
user_id
:
if
i
[
0
]
not
in
dicts
.
keys
():
dicts
.
setdefault
(
i
[
0
],
[])
dicts
[
i
[
0
]]
.
append
(
i
[
1
])
else
:
dicts
[
i
[
0
]]
.
append
(
i
[
1
])
for
key
,
value
in
dicts
.
items
():
rand_num
=
random
.
randint
(
0
,
len
(
value
)
-
1
)
rand_id
=
value
[
rand_num
]
urge_num
=
random
.
randint
(
0
,
1
)
for
i
in
range
(
urge_num
):
time
.
sleep
(
random
.
randint
(
1
,
10
))
cook
=
login
()
if
cook
is
not
None
:
click
(
cook
,
rand_id
)
else
:
pass
except
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
\ No newline at end of file
auto_click1.py
View file @
5e4d6a92
...
@@ -15,9 +15,8 @@ def get_data(numtime, numtime2):
...
@@ -15,9 +15,8 @@ def get_data(numtime, numtime2):
logging
.
info
(
"get numtime:
%
s"
%
numtime
)
logging
.
info
(
"get numtime:
%
s"
%
numtime
)
logging
.
info
(
"get numtime2:
%
s"
%
numtime2
)
logging
.
info
(
"get numtime2:
%
s"
%
numtime2
)
cursor
.
execute
(
cursor
.
execute
(
"SELECT user_id,id FROM topic WHERE is_online=1 and (create_time >
'
%
s' and create_time <
'
%
s')"
%
(
"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
()
data
=
cursor
.
fetchall
()
topic_id
=
list
(
data
)
topic_id
=
list
(
data
)
topic_id_list
=
[]
topic_id_list
=
[]
...
@@ -32,56 +31,22 @@ def get_data(numtime, numtime2):
...
@@ -32,56 +31,22 @@ def get_data(numtime, numtime2):
topic_id_list
.
append
(
i
)
topic_id_list
.
append
(
i
)
logging
.
info
(
"Database version :
%
s "
%
topic_id_list
)
logging
.
info
(
"Database version :
%
s "
%
topic_id_list
)
pc
.
close
()
pc
.
close
()
except
:
except
:
pass
pass
return
topic_id_list
return
topic_id_list
except
:
except
:
logging
.
error
(
"catch exception,get_data:
%
s"
%
traceback
.
format_exc
())
logging
.
error
(
"catch exception,get_data:
%
s"
%
traceback
.
format_exc
())
return
[]
return
[]
def
write_id_file
(
id
):
try
:
data
=
open
(
"save_topic_id.txt"
,
"a"
)
data
.
write
(
str
(
id
))
data
.
write
(
"
\n
"
)
except
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
try
:
try
:
data1
=
open
(
"save_topic_id.txt"
,
"w"
)
numtime
,
numtime2
=
time_conv
(
15
,
5
)
data1
.
truncate
()
numtime
,
numtime2
=
time_conv
(
5
,
0
)
user_id
=
get_data
(
numtime
,
numtime2
)
user_id
=
get_data
(
numtime
,
numtime2
)
dicts
=
{}
dicts
=
{}
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
])
else
:
dicts
[
i
[
0
]]
.
append
(
i
[
1
])
for
key
,
value
in
dicts
.
items
():
rand_num
=
random
.
randint
(
0
,
len
(
value
)
-
1
)
rand_id
=
value
[
rand_num
]
time
.
sleep
(
random
.
randint
(
1
,
10
))
cook
=
login
()
cook
=
login
()
if
cook
is
not
None
:
if
cook
is
not
None
:
write_id_file
(
rand_id
)
click
(
cook
,
i
[
1
])
click
(
cook
,
rand_id
)
except
:
except
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
auto_click2.py
View file @
5e4d6a92
...
@@ -4,63 +4,51 @@ import random
...
@@ -4,63 +4,51 @@ import random
import
traceback
import
traceback
from
log_settings
import
*
from
log_settings
import
*
import
logging
import
logging
from
auto_request
import
login
,
click
from
auto_request
import
login
,
click
,
time_conv
from
auto_request
import
host
,
user
,
db
,
passwd
def
write_id_file
(
):
def
get_data
(
numtime
,
numtime2
):
try
:
try
:
pc
=
pymysql
.
connect
(
host
=
host
,
user
=
user
,
passwd
=
passwd
,
db
=
db
,
port
=
3306
)
user_ids
=
[]
cursor
=
pc
.
cursor
()
data
=
open
(
"save_topic_id.txt"
,
"r"
)
logging
.
info
(
"get numtime:
%
s"
%
numtime
)
data2
=
open
(
"save_topic_id_three.txt"
,
"w"
)
logging
.
info
(
"get numtime2:
%
s"
%
numtime2
)
for
i
in
data
.
readlines
():
cursor
.
execute
(
data2
.
write
(
str
(
i
.
strip
()))
"SELECT user_id,id FROM topic WHERE is_online=1 and (create_time >= '
%
s' and create_time <= '
%
s')"
%
(
data2
.
write
(
"
\n
"
)
numtime
,
numtime2
))
user_ids
.
append
(
int
(
i
))
data
=
cursor
.
fetchall
()
return
user_ids
topic_id
=
list
(
data
)
topic_id_list
=
[]
logging
.
info
(
"get topic_id:
%
s"
%
topic_id
)
try
:
for
i
in
topic_id
and
topic_id
:
cursor
.
execute
(
"select user_id from user_extra where user_id ="
+
str
(
i
[
0
])
+
" and is_shadow =0"
)
data
=
cursor
.
fetchall
()
user_id
=
list
(
data
)
if
user_id
:
topic_id_list
.
append
(
i
)
logging
.
info
(
"Database version :
%
s "
%
topic_id_list
)
pc
.
close
()
except
:
pass
return
topic_id_list
except
:
except
:
logging
.
error
(
"catch exception,get_data:
%
s"
%
traceback
.
format_exc
())
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
return
[]
return
[]
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
try
:
try
:
numtime
,
numtime2
=
time_conv
(
27
,
17
)
user_ids
=
write_id_file
()
user_id
=
get_data
(
numtime
,
numtime2
)
dicts
=
{}
lenn
=
len
(
user_ids
)
for
i
in
user_id
:
rand_num
=
random
.
randint
(
0
,
1
)
randoms_id
=
[]
if
rand_num
==
1
:
cook
=
login
()
if
lenn
==
1
:
if
cook
is
not
None
:
click
(
cook
,
i
[
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
))
and
lenn
>
0
:
rand_num
=
random
.
randint
(
0
,
len
(
user_ids
)
-
1
)
randoms_id
.
append
(
user_ids
[
rand_num
])
if
randoms_id
:
for
i
in
randoms_id
:
time
.
sleep
(
random
.
randint
(
10
,
50
))
cook
=
login
()
if
cook
is
not
None
:
click
(
cook
,
i
)
except
:
except
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
auto_click3.py
View file @
5e4d6a92
...
@@ -5,58 +5,51 @@ import traceback
...
@@ -5,58 +5,51 @@ import traceback
from
log_settings
import
*
from
log_settings
import
*
import
logging
import
logging
from
auto_request
import
login
,
click
,
time_conv
from
auto_request
import
login
,
click
,
time_conv
from
auto_request
import
host
,
user
,
db
,
passwd
def
write_id_file
(
):
def
get_data
(
numtime
,
numtime2
):
try
:
try
:
pc
=
pymysql
.
connect
(
host
=
host
,
user
=
user
,
passwd
=
passwd
,
db
=
db
,
port
=
3306
)
user_ids
=
[]
cursor
=
pc
.
cursor
()
data
=
open
(
"save_topic_id_three.txt"
,
"r"
)
logging
.
info
(
"get numtime:
%
s"
%
numtime
)
for
i
in
data
.
readlines
():
logging
.
info
(
"get numtime2:
%
s"
%
numtime2
)
user_ids
.
append
(
int
(
i
.
strip
()))
cursor
.
execute
(
"SELECT user_id,id FROM topic WHERE is_online=1 and (create_time >= '
%
s' and create_time <= '
%
s')"
%
(
data
=
open
(
"save_topic_id_three.txt"
,
"w"
)
numtime
,
numtime2
))
data
.
truncate
()
data
=
cursor
.
fetchall
()
return
user_ids
topic_id
=
list
(
data
)
topic_id_list
=
[]
logging
.
info
(
"get topic_id:
%
s"
%
topic_id
)
try
:
for
i
in
topic_id
and
topic_id
:
cursor
.
execute
(
"select user_id from user_extra where user_id ="
+
str
(
i
[
0
])
+
" and is_shadow =0"
)
data
=
cursor
.
fetchall
()
user_id
=
list
(
data
)
if
user_id
:
topic_id_list
.
append
(
i
)
logging
.
info
(
"Database version :
%
s "
%
topic_id_list
)
pc
.
close
()
except
:
pass
return
topic_id_list
except
:
except
:
logging
.
error
(
"catch exception,
main
:
%
s"
%
traceback
.
format_exc
())
logging
.
error
(
"catch exception,
get_data
:
%
s"
%
traceback
.
format_exc
())
return
[]
return
[]
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
try
:
try
:
logging
.
info
(
"click three"
)
user_ids
=
write_id_file
()
numtime
,
numtime2
=
time_conv
(
45
,
35
)
user_id
=
get_data
(
numtime
,
numtime2
)
lenn
=
len
(
user_ids
)
dicts
=
{}
for
i
in
user_id
:
randoms_id
=
[]
rand_num
=
random
.
randint
(
0
,
1
)
if
rand_num
==
1
:
if
lenn
==
1
:
cook
=
login
()
if
cook
is
not
None
:
time
.
sleep
(
random
.
randint
(
10
,
50
))
click
(
cook
,
i
[
1
])
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
:
for
i
in
randoms_id
:
time
.
sleep
(
random
.
randint
(
10
,
50
))
cook
=
login
()
if
cook
is
not
None
:
click
(
cook
,
i
)
except
:
except
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
auto_click4.py
0 → 100644
View file @
5e4d6a92
import
time
import
pymysql
import
random
import
traceback
from
log_settings
import
*
import
logging
from
auto_request
import
login
,
click
,
time_conv
from
auto_request
import
host
,
user
,
db
,
passwd
def
get_data
(
numtime
,
numtime2
):
try
:
pc
=
pymysql
.
connect
(
host
=
host
,
user
=
user
,
passwd
=
passwd
,
db
=
db
,
port
=
3306
)
cursor
=
pc
.
cursor
()
logging
.
info
(
"get numtime:
%
s"
%
numtime
)
logging
.
info
(
"get numtime2:
%
s"
%
numtime2
)
cursor
.
execute
(
"SELECT user_id,id FROM topic WHERE is_online=1 and (create_time >= '
%
s' and create_time <= '
%
s')"
%
(
numtime
,
numtime2
))
data
=
cursor
.
fetchall
()
topic_id
=
list
(
data
)
topic_id_list
=
[]
logging
.
info
(
"get topic_id:
%
s"
%
topic_id
)
try
:
for
i
in
topic_id
and
topic_id
:
cursor
.
execute
(
"select user_id from user_extra where user_id ="
+
str
(
i
[
0
])
+
" and is_shadow =0"
)
data
=
cursor
.
fetchall
()
user_id
=
list
(
data
)
if
user_id
:
topic_id_list
.
append
(
i
)
logging
.
info
(
"Database version :
%
s "
%
topic_id_list
)
pc
.
close
()
except
:
pass
return
topic_id_list
except
:
logging
.
error
(
"catch exception,get_data:
%
s"
%
traceback
.
format_exc
())
return
[]
if
__name__
==
"__main__"
:
try
:
logging
.
info
(
"click four"
)
numtime
,
numtime2
=
time_conv
(
47
,
37
)
user_id
=
get_data
(
numtime
,
numtime2
)
dicts
=
{}
for
i
in
user_id
:
rand_num
=
random
.
randint
(
0
,
1
)
if
rand_num
==
1
:
cook
=
login
()
if
cook
is
not
None
:
click
(
cook
,
i
[
1
])
except
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
\ No newline at end of file
auto_click5.py
0 → 100644
View file @
5e4d6a92
import
time
import
pymysql
import
random
import
traceback
from
log_settings
import
*
import
logging
from
auto_request
import
login
,
click
,
time_conv
from
auto_request
import
host
,
user
,
db
,
passwd
def
get_data
(
numtime
,
numtime2
):
try
:
pc
=
pymysql
.
connect
(
host
=
host
,
user
=
user
,
passwd
=
passwd
,
db
=
db
,
port
=
3306
)
cursor
=
pc
.
cursor
()
logging
.
info
(
"get numtime:
%
s"
%
numtime
)
logging
.
info
(
"get numtime2:
%
s"
%
numtime2
)
cursor
.
execute
(
"SELECT user_id,id FROM topic WHERE is_online=1 and (create_time >= '
%
s' and create_time <= '
%
s')"
%
(
numtime
,
numtime2
))
data
=
cursor
.
fetchall
()
topic_id
=
list
(
data
)
topic_id_list
=
[]
logging
.
info
(
"get topic_id:
%
s"
%
topic_id
)
try
:
for
i
in
topic_id
and
topic_id
:
cursor
.
execute
(
"select user_id from user_extra where user_id ="
+
str
(
i
[
0
])
+
" and is_shadow =0"
)
data
=
cursor
.
fetchall
()
user_id
=
list
(
data
)
if
user_id
:
topic_id_list
.
append
(
i
)
logging
.
info
(
"Database version :
%
s "
%
topic_id_list
)
pc
.
close
()
except
:
pass
return
topic_id_list
except
:
logging
.
error
(
"catch exception,get_data:
%
s"
%
traceback
.
format_exc
())
return
[]
if
__name__
==
"__main__"
:
try
:
logging
.
info
(
"click five"
)
numtime
,
numtime2
=
time_conv
(
51
,
41
)
user_id
=
get_data
(
numtime
,
numtime2
)
dicts
=
{}
for
i
in
user_id
:
rand_num
=
random
.
randint
(
0
,
1
)
if
rand_num
==
1
:
cook
=
login
()
if
cook
is
not
None
:
# write_id_file(i[1])
click
(
cook
,
i
[
1
])
except
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
auto_click_instant.py
View file @
5e4d6a92
...
@@ -66,8 +66,5 @@ if __name__ == "__main__":
...
@@ -66,8 +66,5 @@ if __name__ == "__main__":
if
cook
is
not
None
:
if
cook
is
not
None
:
click
(
cook
,
rand_id
)
click
(
cook
,
rand_id
)
except
:
except
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
auto_comm
ne
t.py
→
auto_comm
en
t.py
View file @
5e4d6a92
File moved
auto_comment1.py
View file @
5e4d6a92
import
time
import
pymysql
import
pymysql
import
random
import
random
import
traceback
import
traceback
...
@@ -41,50 +40,20 @@ def get_data(numtime, numtime2):
...
@@ -41,50 +40,20 @@ def get_data(numtime, numtime2):
return
[]
return
[]
def
write_id_file
(
id
):
try
:
data
=
open
(
"save_topic_comment_id.txt"
,
"a"
)
data
.
write
(
str
(
id
))
data
.
write
(
"
\n
"
)
except
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
try
:
try
:
data1
=
open
(
"save_topic_comment_id.txt"
,
"w"
)
logging
.
info
(
"comment one"
)
data1
.
truncate
()
numtime1
,
numtime2
=
time_conv
(
15
,
5
)
numtime1
,
numtime2
=
time_conv
(
5
,
0
)
user_id
=
get_data
(
numtime1
,
numtime2
)
user_id
=
get_data
(
numtime1
,
numtime2
)
dicts
=
{}
dicts
=
{}
if
user_id
:
for
i
in
user_id
and
user_id
:
for
i
in
user_id
:
if
i
[
0
]
not
in
dicts
.
keys
():
cook
=
login
()
dicts
.
setdefault
(
i
[
0
],
[])
comment
=
get_comment
()
dicts
[
i
[
0
]]
.
append
(
i
[
1
])
if
cook
is
not
None
:
reply
(
cook
,
i
[
1
],
comment
)
else
:
else
:
dicts
[
i
[
0
]]
.
append
(
i
[
1
])
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
for
key
,
value
in
dicts
.
items
():
rand_num
=
random
.
randint
(
0
,
len
(
value
)
-
1
)
rand_id
=
value
[
rand_num
]
time
.
sleep
(
random
.
randint
(
1
,
10
))
cook
=
login
()
comment
=
get_comment
()
if
cook
is
not
None
:
write_id_file
(
rand_id
)
reply
(
cook
,
rand_id
,
comment
)
else
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
except
:
except
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
auto_comment2.py
View file @
5e4d6a92
...
@@ -4,64 +4,59 @@ import random
...
@@ -4,64 +4,59 @@ import random
import
traceback
import
traceback
from
log_settings
import
*
from
log_settings
import
*
import
logging
import
logging
from
auto_request
import
login
,
reply
,
get_comment
from
auto_request
import
login
,
time_conv
,
get_comment
,
reply
from
auto_request
import
host
,
user
,
db
,
passwd
def
write_id_file
(
):
def
get_data
(
numtime
,
numtime2
):
try
:
try
:
print
(
"...."
)
pc
=
pymysql
.
connect
(
host
=
host
,
user
=
user
,
passwd
=
passwd
,
db
=
db
,
port
=
3306
)
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
))
data
=
cursor
.
fetchall
()
topic_id
=
list
(
data
)
topic_id_list
=
[]
try
:
for
i
in
topic_id
and
topic_id
:
cursor
.
execute
(
"select user_id from user_extra where user_id ="
+
str
(
i
[
0
])
+
" and is_shadow =0"
)
data
=
cursor
.
fetchall
()
user_id
=
list
(
data
)
print
(
user_id
)
if
user_id
:
topic_id_list
.
append
(
i
)
logging
.
info
(
"Database version :
%
s "
%
topic_id_list
)
pc
.
close
()
except
:
logging
.
error
(
"catch exception,get_data:
%
s"
%
traceback
.
format_exc
())
return
topic_id_list
user_ids
=
[]
data
=
open
(
"save_topic_comment_id.txt"
,
"r"
)
data2
=
open
(
"save_topic_id_comment_three.txt"
,
"w"
)
for
i
in
data
.
readlines
():
data2
.
write
(
str
(
i
.
strip
()))
data2
.
write
(
"
\n
"
)
user_ids
.
append
(
int
(
i
))
return
user_ids
except
:
except
:
logging
.
error
(
"catch exception,get_data:
%
s"
%
traceback
.
format_exc
())
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
return
[]
return
[]
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
try
:
try
:
logging
.
info
(
"comment two"
)
user_ids
=
write_id_file
()
numtime1
,
numtime2
=
time_conv
(
27
,
17
)
user_id
=
get_data
(
numtime1
,
numtime2
)
lenn
=
len
(
user_ids
)
dicts
=
{}
if
user_id
:
randoms_id
=
[]
for
i
in
user_id
:
rand_num
=
random
.
randint
(
0
,
1
)
if
lenn
==
1
:
if
rand_num
==
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
])
if
randoms_id
:
for
i
in
randoms_id
:
time
.
sleep
(
random
.
randint
(
10
,
50
))
comment
=
get_comment
()
cook
=
login
()
cook
=
login
()
comment
=
get_comment
()
if
cook
is
not
None
:
if
cook
is
not
None
:
reply
(
cook
,
i
,
comment
)
reply
(
cook
,
i
[
1
],
comment
)
else
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
except
:
except
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
auto_comment3.py
View file @
5e4d6a92
...
@@ -4,65 +4,59 @@ import random
...
@@ -4,65 +4,59 @@ import random
import
traceback
import
traceback
from
log_settings
import
*
from
log_settings
import
*
import
logging
import
logging
from
auto_request
import
login
,
get_comment
,
reply
from
auto_request
import
login
,
time_conv
,
get_comment
,
reply
from
auto_request
import
host
,
user
,
db
,
passwd
def
write_id_file
(
):
def
get_data
(
numtime
,
numtime2
):
try
:
try
:
print
(
"...."
)
pc
=
pymysql
.
connect
(
host
=
host
,
user
=
user
,
passwd
=
passwd
,
db
=
db
,
port
=
3306
)
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
))
data
=
cursor
.
fetchall
()
topic_id
=
list
(
data
)
topic_id_list
=
[]
try
:
for
i
in
topic_id
and
topic_id
:
cursor
.
execute
(
"select user_id from user_extra where user_id ="
+
str
(
i
[
0
])
+
" and is_shadow =0"
)
data
=
cursor
.
fetchall
()
user_id
=
list
(
data
)
print
(
user_id
)
if
user_id
:
topic_id_list
.
append
(
i
)
logging
.
info
(
"Database version :
%
s "
%
topic_id_list
)
pc
.
close
()
except
:
logging
.
error
(
"catch exception,get_data:
%
s"
%
traceback
.
format_exc
())
return
topic_id_list
user_ids
=
[]
data
=
open
(
"save_topic_id_comment_three.txt"
,
"r"
)
for
i
in
data
.
readlines
():
user_ids
.
append
(
int
(
i
.
strip
()))
data
=
open
(
"save_topic_id_comment_three.txt"
,
"w"
)
data
.
truncate
()
return
user_ids
except
:
except
:
logging
.
error
(
"catch exception,
main
:
%
s"
%
traceback
.
format_exc
())
logging
.
error
(
"catch exception,
get_data
:
%
s"
%
traceback
.
format_exc
())
return
[]
return
[]
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
try
:
try
:
logging
.
info
(
" commend three"
)
user_ids
=
write_id_file
()
numtime1
,
numtime2
=
time_conv
(
45
,
35
)
user_id
=
get_data
(
numtime1
,
numtime2
)
lenn
=
len
(
user_ids
)
dicts
=
{}
if
user_id
:
randoms_id
=
[]
for
i
in
user_id
:
rand_num
=
random
.
randint
(
0
,
1
)
if
lenn
==
1
:
if
rand_num
==
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
:
for
i
in
randoms_id
:
time
.
sleep
(
random
.
randint
(
10
,
50
))
cook
=
login
()
cook
=
login
()
comment
=
get_comment
()
comment
=
get_comment
()
cook
=
login
()
if
cook
is
not
None
:
if
cook
is
not
None
:
reply
(
cook
,
i
,
comment
)
reply
(
cook
,
i
[
1
],
comment
)
else
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
except
:
except
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
auto_lunch_app.py
View file @
5e4d6a92
...
@@ -53,4 +53,4 @@ if __name__ == "__main__":
...
@@ -53,4 +53,4 @@ if __name__ == "__main__":
pass
pass
except
:
except
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
\ No newline at end of file
auto_star_topic.py
View file @
5e4d6a92
...
@@ -16,7 +16,7 @@ def get_star_user_id(numtime1, numtime2):
...
@@ -16,7 +16,7 @@ def get_star_user_id(numtime1, numtime2):
cursor
=
pc
.
cursor
()
cursor
=
pc
.
cursor
()
cursor
.
execute
(
cursor
.
execute
(
"SELECT user_id,id FROM topic WHERE is_online=1 and (content_level =4 or content_level =5) and create_time > '
%
s' and create_time < '
%
s' "
%
(
"SELECT user_id,id FROM topic WHERE is_online=1 and (content_level =4 or content_level =5) and create_time > '
%
s' and create_time < '
%
s' "
%
(
numtime1
,
numtime2
))
numtime1
,
numtime2
))
data
=
cursor
.
fetchall
()
data
=
cursor
.
fetchall
()
user_id_list
=
list
(
data
)
user_id_list
=
list
(
data
)
logging
.
info
(
"Database version :
%
s "
%
user_id_list
)
logging
.
info
(
"Database version :
%
s "
%
user_id_list
)
...
@@ -46,7 +46,7 @@ if __name__ == "__main__":
...
@@ -46,7 +46,7 @@ if __name__ == "__main__":
numtime1
,
numtime2
=
time_convs
(
i
+
1
,
i
-
1
)
numtime1
,
numtime2
=
time_convs
(
i
+
1
,
i
-
1
)
user_topic_id
=
get_star_user_id
(
numtime1
,
numtime2
)
user_topic_id
=
get_star_user_id
(
numtime1
,
numtime2
)
try
:
try
:
...
...
auto_star_urge.py
View file @
5e4d6a92
...
@@ -35,7 +35,6 @@ def get_star_useid(numtime1, numtime2):
...
@@ -35,7 +35,6 @@ def get_star_useid(numtime1, numtime2):
logging
.
error
(
"catch exception,get_data:
%
s"
%
traceback
.
format_exc
())
logging
.
error
(
"catch exception,get_data:
%
s"
%
traceback
.
format_exc
())
return
None
return
None
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
try
:
try
:
...
...
auto_urge.py
View file @
5e4d6a92
...
@@ -36,7 +36,6 @@ def get_data(numtime1,numtime2):
...
@@ -36,7 +36,6 @@ def get_data(numtime1,numtime2):
logging
.
error
(
"catch exception,get_data:
%
s"
%
traceback
.
format_exc
())
logging
.
error
(
"catch exception,get_data:
%
s"
%
traceback
.
format_exc
())
return
None
return
None
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
try
:
try
:
...
...
auto_urge_three.py
View file @
5e4d6a92
...
@@ -37,7 +37,6 @@ def get_data(numtime):
...
@@ -37,7 +37,6 @@ def get_data(numtime):
logging
.
error
(
"catch exception,get_data:
%
s"
%
traceback
.
format_exc
())
logging
.
error
(
"catch exception,get_data:
%
s"
%
traceback
.
format_exc
())
return
None
return
None
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
try
:
try
:
...
@@ -64,4 +63,4 @@ if __name__ == "__main__":
...
@@ -64,4 +63,4 @@ if __name__ == "__main__":
pass
pass
except
:
except
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
\ No newline at end of file
auto_user_id.py
View file @
5e4d6a92
import
pymysql
import
pymysql
import
traceback
import
traceback
import
logging
import
logging
...
@@ -19,20 +18,12 @@ def get_data():
...
@@ -19,20 +18,12 @@ def get_data():
except
:
except
:
logging
.
error
(
"catch exception,get_data:
%
s"
%
traceback
.
format_exc
())
logging
.
error
(
"catch exception,get_data:
%
s"
%
traceback
.
format_exc
())
return
None
return
None
data
=
get_data
()
data
=
get_data
()
file
=
open
(
"user_id.txt"
,
"w"
)
file
=
open
(
"user_id.txt"
,
"w"
)
for
i
in
data
:
for
i
in
data
:
file
.
write
(
i
[
0
])
file
.
write
(
i
[
0
])
file
.
write
(
"
\n
"
)
file
.
write
(
"
\n
"
)
offline_comment.py
View file @
5e4d6a92
...
@@ -7,7 +7,7 @@ import logging
...
@@ -7,7 +7,7 @@ import logging
from
auto_request
import
get_offline_comment
from
auto_request
import
get_offline_comment
from
auto_request
import
host
,
user
,
db
,
passwd
from
auto_request
import
host
,
user
,
db
,
passwd
auto_reply_url
=
"http://
47.93.162.11:8085
/api/v1/reply/create_for_inner"
auto_reply_url
=
"http://
saturn.iyanzhi.com
/api/v1/reply/create_for_inner"
def
reply
(
id
,
content
,
user_id
):
def
reply
(
id
,
content
,
user_id
):
...
@@ -56,10 +56,8 @@ if __name__ == "__main__":
...
@@ -56,10 +56,8 @@ if __name__ == "__main__":
try
:
try
:
time_list
=
[[
0
,
10000
],
[
10000
,
20000
],
[
20000
,
30000
],
[
30000
,
40000
],
[
40000
,
50000
],
time_list
=
[[
24373571
,
34000000
],
[
50000
,
60000
],
[
60000
,
70000
],
[
70000
,
80000
],
[
80000
,
90000
],
[
90000
,
100000
]]
[
34000001
,
45974231
]]
# time_list = [[5479344,5479354]]
user_data
=
open
(
"/srv/apps/cybertron/user_id.txt"
,
"r"
)
user_data
=
open
(
"/srv/apps/cybertron/user_id.txt"
,
"r"
)
...
@@ -87,7 +85,6 @@ if __name__ == "__main__":
...
@@ -87,7 +85,6 @@ if __name__ == "__main__":
comment_list
=
get_offline_comment
()
comment_list
=
get_offline_comment
()
comment
=
comment_list
[
i
]
comment
=
comment_list
[
i
]
reply
(
id
[
0
],
comment
,
user_id
)
reply
(
id
[
0
],
comment
,
user_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