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
2e640f97
Commit
2e640f97
authored
Jun 28, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
f6de495a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
231 additions
and
223 deletions
+231
-223
workspace.xml
.idea/workspace.xml
+194
-179
auto_request.py
auto_request.py
+7
-7
auto_star_topic.py
auto_star_topic.py
+1
-1
auto_star_urge.py
auto_star_urge.py
+9
-16
auto_urge1.py
auto_urge1.py
+18
-18
auto_urge2.py
auto_urge2.py
+2
-2
No files found.
.idea/workspace.xml
View file @
2e640f97
...
...
@@ -2,8 +2,12 @@
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"fd1f0b61-1139-44e5-87e7-f8b86ff52376"
name=
"Default Changelist"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/auto_click2.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_click2.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/test.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/test.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_request.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_request.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_urge1.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_urge1.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_urge2.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_urge2.py"
afterDir=
"false"
/>
</list>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
...
...
@@ -29,18 +33,19 @@
</usages-collector>
<usages-collector
id=
"statistics.file.extensions.open"
>
<counts>
<entry
key=
"batch_user_gen"
value=
"8"
/>
<entry
key=
"README"
value=
"1"
/>
<entry
key=
"batch_user_gen"
value=
"11"
/>
<entry
key=
"comment"
value=
"2"
/>
<entry
key=
"guanshui"
value=
"
5
"
/>
<entry
key=
"py"
value=
"
396
"
/>
<entry
key=
"txt"
value=
"
19
"
/>
<entry
key=
"guanshui"
value=
"
6
"
/>
<entry
key=
"py"
value=
"
409
"
/>
<entry
key=
"txt"
value=
"
24
"
/>
<entry
key=
"xuqiu"
value=
"2"
/>
</counts>
</usages-collector>
<usages-collector
id=
"statistics.file.types.open"
>
<counts>
<entry
key=
"PLAIN_TEXT"
value=
"
3
6"
/>
<entry
key=
"Python"
value=
"
396
"
/>
<entry
key=
"PLAIN_TEXT"
value=
"
4
6"
/>
<entry
key=
"Python"
value=
"
409
"
/>
</counts>
</usages-collector>
<usages-collector
id=
"statistics.file.extensions.edit"
>
...
...
@@ -48,7 +53,7 @@
<entry
key=
"comment"
value=
"59"
/>
<entry
key=
"dummy"
value=
"11"
/>
<entry
key=
"guanshui"
value=
"2"
/>
<entry
key=
"py"
value=
"8
363
"
/>
<entry
key=
"py"
value=
"8
428
"
/>
<entry
key=
"txt"
value=
"96"
/>
<entry
key=
"xuqiu"
value=
"223"
/>
</counts>
...
...
@@ -56,7 +61,7 @@
<usages-collector
id=
"statistics.file.types.edit"
>
<counts>
<entry
key=
"PLAIN_TEXT"
value=
"391"
/>
<entry
key=
"Python"
value=
"8
363
"
/>
<entry
key=
"Python"
value=
"8
428
"
/>
</counts>
</usages-collector>
</session>
...
...
@@ -125,93 +130,94 @@
<component
name=
"FileEditorManager"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/
test
.py"
>
<entry
file=
"file://$PROJECT_DIR$/
auto_user_id
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"105"
>
<caret
line=
"7"
column=
"18"
selection-start-line=
"7"
selection-start-column=
"18"
selection-end-line=
"7"
selection-end-column=
"18"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"300"
>
<caret
line=
"24"
column=
"51"
selection-start-line=
"24"
selection-start-column=
"51"
selection-end-line=
"24"
selection-end-column=
"51"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/
offline_comment.py
"
>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/
batch_user_gen
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
122
"
>
<caret
line=
"
35"
column=
"15"
selection-start-line=
"35"
selection-start-column=
"15"
selection-end-line=
"35"
selection-end-column=
"15
"
/>
<state
relative-caret-position=
"
533
"
>
<caret
line=
"
282"
column=
"19"
lean-forward=
"true"
selection-start-line=
"282"
selection-start-column=
"19"
selection-end-line=
"282"
selection-end-column=
"19
"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/user_id.txt"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
<entry
file=
"file://$PROJECT_DIR$/auto_urge1.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"233"
>
<caret
line=
"42"
column=
"41"
selection-start-line=
"42"
selection-start-column=
"41"
selection-end-line=
"42"
selection-end-column=
"41"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
lunch_app
.py"
>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
star_urge
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
35
5"
>
<caret
line=
"4
2"
column=
"45"
lean-forward=
"true"
selection-start-line=
"42"
selection-start-column=
"45"
selection-end-line=
"42"
selection-end-column=
"45
"
/>
<state
relative-caret-position=
"
41
5"
>
<caret
line=
"4
7"
column=
"39"
lean-forward=
"true"
selection-start-line=
"47"
selection-start-column=
"39"
selection-end-line=
"47"
selection-end-column=
"39
"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/
user_session.txt
"
>
<entry
file=
"file://$PROJECT_DIR$/
auto_star_topic.py
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
460
"
>
<caret
line=
"
499"
column=
"52"
selection-start-line=
"499"
selection-start-column=
"52"
selection-end-line=
"499"
selection-end-column=
"52
"
/>
<state
relative-caret-position=
"
-427
"
>
<caret
line=
"
21"
column=
"61"
lean-forward=
"true"
selection-start-line=
"21"
selection-start-column=
"61"
selection-end-line=
"21"
selection-end-column=
"61
"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
click
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
urge2
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
76
5"
>
<caret
line=
"
58"
column=
"21"
selection-start-line=
"58"
selection-start-column=
"21"
selection-end-line=
"58"
selection-end-column=
"21
"
/>
<state
relative-caret-position=
"
20
5"
>
<caret
line=
"
42"
selection-start-line=
"42"
selection-end-line=
"61"
selection-end-column=
"73
"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
click1
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
urge3
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
285
"
>
<caret
line=
"
26"
column=
"50"
selection-start-line=
"26"
selection-start-column=
"49"
selection-end-line=
"26"
selection-end-column=
"50
"
/>
<state
relative-caret-position=
"
480
"
>
<caret
line=
"
42"
column=
"8"
lean-forward=
"true"
selection-start-line=
"42"
selection-start-column=
"8"
selection-end-line=
"42"
selection-end-column=
"8
"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
click2
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
urge_three
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
86
"
>
<caret
line=
"
24"
column=
"43"
selection-start-line=
"24"
selection-start-column=
"43"
selection-end-line=
"24"
selection-end-column=
"43
"
/>
<state
relative-caret-position=
"
315
"
>
<caret
line=
"
32"
column=
"25"
selection-start-line=
"32"
selection-start-column=
"25"
selection-end-line=
"32"
selection-end-column=
"25
"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/
auto_click3.py
"
>
<entry
file=
"file://$PROJECT_DIR$/
comment.txt
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
22
5"
>
<caret
line=
"
22"
column=
"50"
lean-forward=
"true"
selection-start-line=
"22"
selection-start-column=
"50"
selection-end-line=
"22"
selection-end-column=
"50
"
/>
<state
relative-caret-position=
"
35
5"
>
<caret
line=
"
590"
column=
"3"
lean-forward=
"true"
selection-start-line=
"590"
selection-start-column=
"3"
selection-end-line=
"590"
selection-end-column=
"3
"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
lunch_app2
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
urge_three1
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"591"
>
<caret
line=
"48"
column=
"36"
lean-forward=
"true"
selection-start-line=
"48"
selection-start-column=
"36"
selection-end-line=
"48"
selection-end-column=
"36"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"135"
>
<caret
line=
"20"
column=
"22"
lean-forward=
"true"
selection-start-line=
"20"
selection-start-column=
"22"
selection-end-line=
"20"
selection-end-column=
"22"
/>
</state>
</provider>
</entry>
...
...
@@ -247,10 +253,8 @@
<component
name=
"IdeDocumentHistory"
>
<option
name=
"CHANGED_PATHS"
>
<list>
<option
value=
"$PROJECT_DIR$/epp_scripts/celery_task_router.py"
/>
<option
value=
"$PROJECT_DIR$/tasks/auto_at_once.py"
/>
<option
value=
"$PROJECT_DIR$/_celery.py"
/>
<option
value=
"$PROJECT_DIR$/comment.txt"
/>
<option
value=
"$PROJECT_DIR$/auto_at_once.py"
/>
<option
value=
"$PROJECT_DIR$/instant.py"
/>
<option
value=
"$PROJECT_DIR$/com.py"
/>
...
...
@@ -272,15 +276,9 @@
<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_star_topic.py"
/>
<option
value=
"$PROJECT_DIR$/auto_star_urge.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge1.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge2.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge3.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge_three.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge_three1.py"
/>
<option
value=
"$PROJECT_DIR$/auto_user_id.py"
/>
<option
value=
"$PROJECT_DIR$/log_settings.py"
/>
<option
value=
"$PROJECT_DIR$/offline_comment.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click_51.py"
/>
...
...
@@ -290,14 +288,22 @@
<option
value=
"$PROJECT_DIR$/auto_follow_majia.py"
/>
<option
value=
"$PROJECT_DIR$/offline_click.py"
/>
<option
value=
"$PROJECT_DIR$/one_by_one_comment.py"
/>
<option
value=
"$PROJECT_DIR$/one_by_one.py"
/>
<option
value=
"$PROJECT_DIR$/user_session.txt"
/>
<option
value=
"$PROJECT_DIR$/auto_request.py"
/>
<option
value=
"$PROJECT_DIR$/auto_comment1.py"
/>
<option
value=
"$PROJECT_DIR$/auto_lunch_app.py"
/>
<option
value=
"$PROJECT_DIR$/auto_lunch_app2.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click2.py"
/>
<option
value=
"$PROJECT_DIR$/test.py"
/>
<option
value=
"$PROJECT_DIR$/auto_user_id.py"
/>
<option
value=
"$PROJECT_DIR$/comment.txt"
/>
<option
value=
"$PROJECT_DIR$/guanshui"
/>
<option
value=
"$PROJECT_DIR$/one_by_one.py"
/>
<option
value=
"$PROJECT_DIR$/auto_request.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge2.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge3.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge1.py"
/>
<option
value=
"$PROJECT_DIR$/auto_star_topic.py"
/>
<option
value=
"$PROJECT_DIR$/auto_star_urge.py"
/>
</list>
</option>
</component>
...
...
@@ -514,11 +520,12 @@
<servers
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"0"
y=
"23"
width=
"1280"
height=
"720"
extended-state=
"6"
/>
<frame
x=
"0"
y=
"23"
width=
"1280"
height=
"720"
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"
/>
<window_info
content_ui=
"combo"
id=
"Project"
order=
"2"
sideWeight=
"0.7872763"
visible=
"true"
weight=
"0.40826052
"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"2"
sideWeight=
"0.7872763"
visible=
"true"
weight=
"0.0
"
/>
<window_info
id=
"DB Browser"
order=
"3"
/>
<window_info
anchor=
"bottom"
id=
"Message"
order=
"0"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
weight=
"0.3284974"
/>
...
...
@@ -528,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
a
ctive=
"true"
a
nchor=
"bottom"
id=
"Terminal"
order=
"8"
visible=
"true"
weight=
"0.0"
/>
<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=
"Python Console"
order=
"10"
/>
<window_info
anchor=
"bottom"
id=
"DB Execution Console"
order=
"11"
/>
...
...
@@ -597,7 +604,6 @@
</breakpoint-manager>
</component>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/_celery.py"
/>
<entry
file=
"file://$PROJECT_DIR$/celeryconfig.py"
/>
<entry
file=
"file://$PROJECT_DIR$/auto_at_once.py"
/>
<entry
file=
"file://$PROJECT_DIR$/instant.py"
/>
...
...
@@ -647,270 +653,279 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_star_topic.py"
>
<entry
file=
"file://$PROJECT_DIR$/save_topic_id_comment_three.txt"
/>
<entry
file=
"file://$PROJECT_DIR$/auto_click_51.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
636
"
>
<caret
line=
"
89"
column=
"73"
selection-start-line=
"89"
selection-start-column=
"73"
selection-end-line=
"89"
selection-end-column=
"7
3"
/>
<state
relative-caret-position=
"
285
"
>
<caret
line=
"
19"
column=
"23"
selection-start-line=
"19"
selection-start-column=
"23"
selection-end-line=
"19"
selection-end-column=
"2
3"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
star_urge
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
click_fan
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
49
4"
>
<caret
line=
"5
8"
column=
"73"
selection-start-line=
"58"
selection-start-column=
"73"
selection-end-line=
"58
"
selection-end-column=
"73"
/>
<state
relative-caret-position=
"
55
4"
>
<caret
line=
"5
6"
column=
"73"
selection-start-line=
"56"
selection-start-column=
"73"
selection-end-line=
"56
"
selection-end-column=
"73"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
urge_three
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
comment_51
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
119
"
>
<caret
line=
"3
2"
column=
"25"
selection-start-line=
"32"
selection-start-column=
"25"
selection-end-line=
"32"
selection-end-column=
"25
"
/>
<state
relative-caret-position=
"
330
"
>
<caret
line=
"3
0"
column=
"44"
selection-start-line=
"30"
selection-start-column=
"44"
selection-end-line=
"30"
selection-end-column=
"44
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
user_id
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
follow_majia
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
554
"
>
<caret
line=
"
41"
column=
"24"
selection-start-line=
"41"
selection-start-column=
"24"
selection-end-line=
"41"
selection-end-column=
"24
"
/>
<state
relative-caret-position=
"
345
"
>
<caret
line=
"
23"
column=
"25"
selection-start-line=
"23"
selection-start-column=
"25"
selection-end-line=
"23"
selection-end-column=
"25
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
log_settings
.py"
>
<entry
file=
"file://$PROJECT_DIR$/
offline_click
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-871"
>
<caret
line=
"13"
column=
"1"
selection-start-line=
"13"
selection-start-column=
"1"
selection-end-line=
"13"
selection-end-column=
"1"
/>
<state
relative-caret-position=
"1860"
>
<caret
line=
"131"
column=
"74"
selection-start-line=
"131"
selection-start-column=
"74"
selection-end-line=
"131"
selection-end-column=
"74"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/save_topic_id_comment_three.txt"
/>
<entry
file=
"file://$PROJECT_DIR$/auto_click_51.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_click4.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
28
5"
>
<caret
line=
"
19"
column=
"23"
selection-start-line=
"19"
selection-start-column=
"23"
selection-end-line=
"19"
selection-end-column=
"2
3"
/>
<state
relative-caret-position=
"
19
5"
>
<caret
line=
"
20"
column=
"29"
lean-forward=
"true"
selection-end-line=
"54"
selection-end-column=
"7
3"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_click
_fan
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_click
5
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
55
4"
>
<caret
line=
"
56"
column=
"73"
selection-start-line=
"56"
selection-start-column=
"73"
selection-end-line=
"56"
selection-end-column=
"73
"
/>
<state
relative-caret-position=
"
19
4"
>
<caret
line=
"
36"
column=
"11"
lean-forward=
"true"
selection-end-line=
"56
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_comment
_51
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_comment
1_fan
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
330
"
>
<caret
line=
"
30"
column=
"44"
selection-start-line=
"30"
selection-start-column=
"44"
selection-end-line=
"30"
selection-end-column=
"44
"
/>
<state
relative-caret-position=
"
269
"
>
<caret
line=
"
45"
lean-forward=
"true"
selection-start-line=
"45"
selection-end-line=
"45
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
follow_majia
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
comment2
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
345
"
>
<caret
line=
"
23"
column=
"25"
selection-start-line=
"23"
selection-start-column=
"25"
selection-end-line=
"23"
selection-end-column=
"25
"
/>
<state
relative-caret-position=
"
570
"
>
<caret
line=
"
45"
column=
"8"
lean-forward=
"true"
selection-start-line=
"45"
selection-start-column=
"8"
selection-end-line=
"45"
selection-end-column=
"8
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
one_by_one_comment
.py"
>
<entry
file=
"file://$PROJECT_DIR$/
auto_comment3
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
1020
"
>
<caret
line=
"
76"
column=
"74"
selection-start-line=
"76"
selection-start-column=
"74"
selection-end-line=
"76"
selection-end-column=
"74
"
/>
<state
relative-caret-position=
"
205
"
>
<caret
line=
"
38"
column=
"11"
lean-forward=
"true"
selection-start-line=
"38"
selection-start-column=
"11"
selection-end-line=
"38"
selection-end-column=
"11
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
one_by_one
.py"
>
<entry
file=
"file://$PROJECT_DIR$/
auto_comment1
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1035"
>
<caret
line=
"77"
column=
"74"
selection-start-line=
"77"
selection-start-column=
"74"
selection-end-line=
"77"
selection-end-column=
"74"
/>
<state
relative-caret-position=
"490"
>
<caret
line=
"58"
column=
"15"
lean-forward=
"true"
selection-start-line=
"58"
selection-start-column=
"15"
selection-end-line=
"58"
selection-end-column=
"15"
/>
<folding>
<element
signature=
"e#0#14#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
offline_click
.py"
>
<entry
file=
"file://$PROJECT_DIR$/
auto_lunch_app2
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
1860
"
>
<caret
line=
"
131"
column=
"74"
selection-start-line=
"131"
selection-start-column=
"74"
selection-end-line=
"131"
selection-end-column=
"74
"
/>
<state
relative-caret-position=
"
591
"
>
<caret
line=
"
48"
column=
"36"
lean-forward=
"true"
selection-start-line=
"48"
selection-start-column=
"36"
selection-end-line=
"48"
selection-end-column=
"36
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
request
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
lunch_app
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-1077"
>
<caret
line=
"47"
column=
"9"
selection-start-line=
"47"
selection-start-column=
"9"
selection-end-line=
"47"
selection-end-column=
"9"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"355"
>
<caret
line=
"42"
column=
"45"
lean-forward=
"true"
selection-start-line=
"42"
selection-start-column=
"45"
selection-end-line=
"42"
selection-end-column=
"45"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
urge_three1
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
click
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
40
"
>
<caret
line=
"
20"
column=
"22"
lean-forward=
"true"
selection-start-line=
"20"
selection-start-column=
"22"
selection-end-line=
"20"
selection-end-column=
"22
"
/>
<state
relative-caret-position=
"
765
"
>
<caret
line=
"
58"
column=
"21"
selection-start-line=
"58"
selection-start-column=
"21"
selection-end-line=
"58"
selection-end-column=
"21
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
urge2
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
click1
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"2
20
"
>
<caret
line=
"
44"
column=
"27"
selection-start-line=
"44"
selection-start-column=
"27"
selection-end-line=
"44"
selection-end-column=
"27
"
/>
<state
relative-caret-position=
"2
85
"
>
<caret
line=
"
26"
column=
"50"
selection-start-line=
"26"
selection-start-column=
"49"
selection-end-line=
"26"
selection-end-column=
"50
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
urge3
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
click2
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
310
"
>
<caret
line=
"
50"
column=
"41"
selection-start-line=
"50"
selection-start-column=
"41"
selection-end-line=
"50"
selection-end-column=
"41
"
/>
<state
relative-caret-position=
"
86
"
>
<caret
line=
"
24"
column=
"43"
selection-start-line=
"24"
selection-start-column=
"43"
selection-end-line=
"24"
selection-end-column=
"43
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
guanshui
"
>
<entry
file=
"file://$PROJECT_DIR$/
auto_click3.py
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
900
"
>
<caret
line=
"
60"
selection-start-line=
"60"
selection-end-line=
"6
0"
/>
<state
relative-caret-position=
"
225
"
>
<caret
line=
"
22"
column=
"50"
lean-forward=
"true"
selection-start-line=
"22"
selection-start-column=
"50"
selection-end-line=
"22"
selection-end-column=
"5
0"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
batch_user_gen
"
>
<entry
file=
"file://$PROJECT_DIR$/
test.py
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"689"
>
<caret
line=
"299"
column=
"3"
selection-start-line=
"299"
selection-start-column=
"3"
selection-end-line=
"299"
selection-end-column=
"4"
/>
<state
relative-caret-position=
"105"
>
<caret
line=
"7"
column=
"18"
selection-start-line=
"7"
selection-start-column=
"18"
selection-end-line=
"7"
selection-end-column=
"18"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
comment.txt
"
>
<entry
file=
"file://$PROJECT_DIR$/
log_settings.py
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
28920
"
>
<caret
line=
"1
928"
column=
"5"
lean-forward=
"true"
selection-start-line=
"1928"
selection-start-column=
"5"
selection-end-line=
"1928"
selection-end-column=
"5
"
/>
<state
relative-caret-position=
"
15
"
>
<caret
line=
"1
3"
column=
"1"
selection-start-line=
"13"
selection-start-column=
"1"
selection-end-line=
"13"
selection-end-column=
"1
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_click4.py"
>
<entry
file=
"file://$PROJECT_DIR$/README"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/one_by_one_comment.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"195"
>
<caret
line=
"20"
column=
"29"
lean-forward=
"true"
selection-end-line=
"54"
selection-end-column=
"73"
/>
<state
relative-caret-position=
"475"
>
<caret
line=
"76"
column=
"74"
selection-start-line=
"76"
selection-start-column=
"74"
selection-end-line=
"76"
selection-end-column=
"74"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
auto_click5
.py"
>
<entry
file=
"file://$PROJECT_DIR$/
one_by_one
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"194"
>
<caret
line=
"36"
column=
"11"
lean-forward=
"true"
selection-end-line=
"56"
/>
<state
relative-caret-position=
"225"
>
<caret
line=
"15"
column=
"21"
lean-forward=
"true"
selection-start-line=
"15"
selection-start-column=
"21"
selection-end-line=
"15"
selection-end-column=
"21"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_comment1_fan.py"
>
<entry
file=
"file://$PROJECT_DIR$/user_id.txt"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/guanshui"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
269
"
>
<caret
line=
"
45"
lean-forward=
"true"
selection-start-line=
"45"
selection-end-line=
"4
5"
/>
<state
relative-caret-position=
"
730
"
>
<caret
line=
"
599"
column=
"5"
lean-forward=
"true"
selection-start-line=
"599"
selection-start-column=
"5"
selection-end-line=
"599"
selection-end-column=
"
5"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
auto_comment2.py
"
>
<entry
file=
"file://$PROJECT_DIR$/
user_session.txt
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
57
0"
>
<caret
line=
"4
5"
column=
"8"
lean-forward=
"true"
selection-start-line=
"45"
selection-start-column=
"8"
selection-end-line=
"45"
selection-end-column=
"8
"
/>
<state
relative-caret-position=
"
46
0"
>
<caret
line=
"4
99"
column=
"52"
selection-start-line=
"499"
selection-start-column=
"52"
selection-end-line=
"499"
selection-end-column=
"52
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
auto_comment3
.py"
>
<entry
file=
"file://$PROJECT_DIR$/
offline_comment
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
205
"
>
<caret
line=
"3
8"
column=
"11"
lean-forward=
"true"
selection-start-line=
"38"
selection-start-column=
"11"
selection-end-line=
"38"
selection-end-column=
"11
"
/>
<state
relative-caret-position=
"
182
"
>
<caret
line=
"3
9"
column=
"27"
selection-start-line=
"39"
selection-start-column=
"27"
selection-end-line=
"39"
selection-end-column=
"27
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
urge1
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
request
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
401
"
>
<caret
line=
"
51"
column=
"24"
lean-forward=
"true"
selection-start-line=
"51"
selection-start-column=
"24"
selection-end-line=
"51"
selection-end-column=
"24
"
/>
<state
relative-caret-position=
"
-620
"
>
<caret
line=
"
266"
lean-forward=
"true"
selection-start-line=
"266"
selection-end-line=
"266
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
comment1
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
urge2
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"490"
>
<caret
line=
"58"
column=
"15"
lean-forward=
"true"
selection-start-line=
"58"
selection-start-column=
"15"
selection-end-line=
"58"
selection-end-column=
"15"
/>
<folding>
<element
signature=
"e#0#14#0"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"205"
>
<caret
line=
"42"
selection-start-line=
"42"
selection-end-line=
"61"
selection-end-column=
"73"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
lunch_app2
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
urge1
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
591
"
>
<caret
line=
"4
8"
column=
"36"
lean-forward=
"true"
selection-start-line=
"48"
selection-start-column=
"36"
selection-end-line=
"48"
selection-end-column=
"36
"
/>
<state
relative-caret-position=
"
233
"
>
<caret
line=
"4
2"
column=
"41"
selection-start-line=
"42"
selection-start-column=
"41"
selection-end-line=
"42"
selection-end-column=
"41
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
lunch_app
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
star_topic
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
355
"
>
<caret
line=
"
42"
column=
"45"
lean-forward=
"true"
selection-start-line=
"42"
selection-start-column=
"45"
selection-end-line=
"42"
selection-end-column=
"45
"
/>
<state
relative-caret-position=
"
-427
"
>
<caret
line=
"
21"
column=
"61"
lean-forward=
"true"
selection-start-line=
"21"
selection-start-column=
"61"
selection-end-line=
"21"
selection-end-column=
"61
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
click
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
urge3
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
765
"
>
<caret
line=
"
58"
column=
"21"
selection-start-line=
"58"
selection-start-column=
"21"
selection-end-line=
"58"
selection-end-column=
"21
"
/>
<state
relative-caret-position=
"
480
"
>
<caret
line=
"
42"
column=
"8"
lean-forward=
"true"
selection-start-line=
"42"
selection-start-column=
"8"
selection-end-line=
"42"
selection-end-column=
"8
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
click1
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
urge_three
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
28
5"
>
<caret
line=
"
26"
column=
"50"
selection-start-line=
"26"
selection-start-column=
"49"
selection-end-line=
"26"
selection-end-column=
"50
"
/>
<state
relative-caret-position=
"
31
5"
>
<caret
line=
"
32"
column=
"25"
selection-start-line=
"32"
selection-start-column=
"25"
selection-end-line=
"32"
selection-end-column=
"25
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
click2
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
urge_three1
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
86
"
>
<caret
line=
"2
4"
column=
"43"
selection-start-line=
"24"
selection-start-column=
"43"
selection-end-line=
"24"
selection-end-column=
"43
"
/>
<state
relative-caret-position=
"
135
"
>
<caret
line=
"2
0"
column=
"22"
lean-forward=
"true"
selection-start-line=
"20"
selection-start-column=
"22"
selection-end-line=
"20"
selection-end-column=
"22
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
click3
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
user_id
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
225
"
>
<caret
line=
"2
2"
column=
"50"
lean-forward=
"true"
selection-start-line=
"22"
selection-start-column=
"50"
selection-end-line=
"22"
selection-end-column=
"50
"
/>
<state
relative-caret-position=
"
300
"
>
<caret
line=
"2
4"
column=
"51"
selection-start-line=
"24"
selection-start-column=
"51"
selection-end-line=
"24"
selection-end-column=
"51
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
user_session.txt
"
>
<entry
file=
"file://$PROJECT_DIR$/
batch_user_gen
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
460
"
>
<caret
line=
"
499"
column=
"52"
selection-start-line=
"499"
selection-start-column=
"52"
selection-end-line=
"499"
selection-end-column=
"52
"
/>
<state
relative-caret-position=
"
533
"
>
<caret
line=
"
282"
column=
"19"
lean-forward=
"true"
selection-start-line=
"282"
selection-start-column=
"19"
selection-end-line=
"282"
selection-end-column=
"19
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/user_id.txt"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/test.py"
>
<entry
file=
"file://$PROJECT_DIR$/comment.txt"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"105"
>
<caret
line=
"7"
column=
"18"
selection-start-line=
"7"
selection-start-column=
"18"
selection-end-line=
"7"
selection-end-column=
"18"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"355"
>
<caret
line=
"590"
column=
"3"
lean-forward=
"true"
selection-start-line=
"590"
selection-start-column=
"3"
selection-end-line=
"590"
selection-end-column=
"3"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
offline_comment
.py"
>
<entry
file=
"file://$PROJECT_DIR$/
auto_star_urge
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
122
"
>
<caret
line=
"
35"
column=
"15"
selection-start-line=
"35"
selection-start-column=
"15"
selection-end-line=
"35"
selection-end-column=
"15
"
/>
<state
relative-caret-position=
"
415
"
>
<caret
line=
"
47"
column=
"39"
lean-forward=
"true"
selection-start-line=
"47"
selection-start-column=
"39"
selection-end-line=
"47"
selection-end-column=
"39
"
/>
</state>
</provider>
</entry>
...
...
auto_request.py
View file @
2e640f97
...
...
@@ -203,9 +203,9 @@ def get_comments():
for
i
in
data
:
list_guanshui
.
append
(
i
)
num1
=
random
.
randint
(
0
,
5
0
)
num2
=
random
.
randint
(
50
,
7
0
)
num3
=
random
.
randint
(
7
0
,
len
(
list_guanshui
))
num1
=
random
.
randint
(
0
,
20
0
)
num2
=
random
.
randint
(
200
,
40
0
)
num3
=
random
.
randint
(
40
0
,
len
(
list_guanshui
))
comment1
=
list_guanshui
[
num1
-
1
]
comment2
=
list_guanshui
[
num2
-
1
]
...
...
@@ -260,10 +260,10 @@ def get_offline_comment():
list_guanshui
=
[]
for
i
in
data
:
list_guanshui
.
append
(
i
)
num1
=
random
.
randint
(
0
,
5
00
)
num2
=
random
.
randint
(
500
,
10
00
)
num3
=
random
.
randint
(
1000
,
15
00
)
num4
=
random
.
randint
(
15
00
,
len
(
list_guanshui
))
num1
=
random
.
randint
(
0
,
2
00
)
num2
=
random
.
randint
(
200
,
3
00
)
num3
=
random
.
randint
(
300
,
4
00
)
num4
=
random
.
randint
(
4
00
,
len
(
list_guanshui
))
comment1
=
list_guanshui
[
num1
-
1
]
comment2
=
list_guanshui
[
num2
-
1
]
...
...
auto_star_topic.py
View file @
2e640f97
...
...
@@ -15,7 +15,7 @@ def get_star_user_id(numtime1, numtime2):
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
(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 in (4,
5) and create_time > '
%
s' and create_time < '
%
s' "
%
(
numtime1
,
numtime2
))
data
=
cursor
.
fetchall
()
user_id_list
=
list
(
data
)
...
...
auto_star_urge.py
View file @
2e640f97
...
...
@@ -15,7 +15,7 @@ def get_star_useid(numtime1, numtime2):
pc
=
pymysql
.
connect
(
host
=
host
,
user
=
user
,
passwd
=
passwd
,
db
=
db
,
port
=
3306
)
cursor
=
pc
.
cursor
()
cursor
.
execute
(
"SELECT distinct(user_id) FROM topic WHERE is_online=1 and
(content_level =4 or content_level =5)
and create_time > '
%
s' and create_time < '
%
s'"
%
(
"SELECT distinct(user_id) FROM topic WHERE is_online=1 and
content_level in (4,5)
and create_time > '
%
s' and create_time < '
%
s'"
%
(
numtime1
,
numtime2
))
data
=
cursor
.
fetchall
()
user_id
=
list
(
data
)
...
...
@@ -39,21 +39,14 @@ def get_star_useid(numtime1, numtime2):
if
__name__
==
"__main__"
:
try
:
time_list
=
[
1
,
2
,
3
,
4
,
5
,
6
,
7
]
for
i
in
time_list
:
numtime1
,
numtime2
=
time_convs
(
i
+
1
,
i
-
1
)
user_id
=
get_star_useid
(
numtime1
,
numtime2
)
try
:
for
j
in
user_id
and
user_id
:
id
=
int
(
j
[
0
])
for
i
in
range
(
1
):
# time.sleep(random.randint(10, 50))
cookies
=
login
()
if
cookies
is
not
None
:
Urge
(
cookies
,
id
)
except
:
pass
numtime1
,
numtime2
=
time_convs
(
8
,
0
)
user_id
=
get_star_useid
(
numtime1
,
numtime2
)
for
j
in
user_id
and
user_id
:
id
=
int
(
j
[
0
])
for
i
in
range
(
1
):
cookies
=
login
()
if
cookies
is
not
None
:
Urge
(
cookies
,
id
)
except
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
auto_urge1.py
View file @
2e640f97
...
...
@@ -17,7 +17,7 @@ def get_data(numtime1, numtime2):
cursor
=
pc
.
cursor
()
cursor
.
execute
(
"SELECT distinct(user_id) FROM topic WHERE is_online=1 and create_time > '
%
s' and create_time < '
%
s'"
%
(
numtime1
,
numtime2
))
numtime1
,
numtime2
))
data
=
cursor
.
fetchall
()
user_id
=
list
(
data
)
...
...
@@ -39,24 +39,24 @@ def get_data(numtime1, numtime2):
if
__name__
==
"__main__"
:
try
:
time_list
=
[
1
,
2
,
3
,
4
,
5
,
6
,
7
]
for
i
in
time_list
:
numtime1
,
numtime2
=
time_convs
(
i
+
1
,
i
-
1
)
logging
.
info
(
"get numtime1:
%
s"
%
numtime1
)
user_id
=
get_data
(
numtime1
,
numtime2
)
urge_num
=
random
.
randint
(
0
,
1
)
if
urge_num
==
1
:
for
i
in
range
(
urge_num
):
try
:
for
j
in
user_id
and
user_id
:
id
=
int
(
j
[
0
])
# time.sleep(random.randint(10, 50))
cookies
=
login
()
if
cookies
is
not
None
:
Urge
(
cookies
,
id
)
except
:
pass
numtime1
,
numtime2
=
time_convs
(
8
,
0
)
logging
.
info
(
"get numtime1:
%
s"
%
numtime1
)
logging
.
info
(
"get numtime2:
%
s"
%
numtime2
)
user_id
=
get_data
(
numtime1
,
numtime2
)
# urge_num = random.randint(0,1)
urge_num
=
1
if
urge_num
==
1
:
for
i
in
range
(
urge_num
):
try
:
for
j
in
user_id
and
user_id
:
id
=
int
(
j
[
0
])
# time.sleep(random.randint(10, 50))
cookies
=
login
()
if
cookies
is
not
None
:
Urge
(
cookies
,
id
)
except
:
pass
except
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
auto_urge2.py
View file @
2e640f97
...
...
@@ -17,7 +17,7 @@ def get_data(numtime1, numtime2):
cursor
=
pc
.
cursor
()
cursor
.
execute
(
"SELECT distinct(user_id) FROM topic WHERE is_online=1 and create_time > '
%
s' and create_time < '
%
s'"
%
(
numtime1
,
numtime2
))
numtime1
,
numtime2
))
data
=
cursor
.
fetchall
()
user_id
=
list
(
data
)
...
...
@@ -46,7 +46,7 @@ if __name__ == "__main__":
numtime1
,
numtime2
=
time_convs
(
i
+
1
,
i
-
1
)
logging
.
info
(
"get numtime1:
%
s"
%
numtime1
)
user_id
=
get_data
(
numtime1
,
numtime2
)
urge_num
=
random
.
randint
(
0
,
1
)
urge_num
=
1
if
urge_num
==
1
:
for
i
in
range
(
urge_num
):
try
:
...
...
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