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
1625fbf1
Commit
1625fbf1
authored
Apr 23, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
ba05f067
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
180 additions
and
150 deletions
+180
-150
workspace.xml
.idea/workspace.xml
+109
-96
auto_every_day.py
auto_every_day.py
+1
-1
auto_follow.py
auto_follow.py
+4
-4
auto_follow_new.py
auto_follow_new.py
+12
-8
auto_follow_one.py
auto_follow_one.py
+9
-6
auto_star_topic.py
auto_star_topic.py
+8
-5
auto_star_urge.py
auto_star_urge.py
+17
-11
auto_urge.py
auto_urge.py
+12
-9
auto_urge_three.py
auto_urge_three.py
+8
-10
No files found.
.idea/workspace.xml
View file @
1625fbf1
...
...
@@ -2,8 +2,13 @@
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"fd1f0b61-1139-44e5-87e7-f8b86ff52376"
name=
"Default Changelist"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/auto_follow.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_follow.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_follow_new.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_follow_new.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_follow_one.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_follow_one.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"
/>
</list>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
...
...
@@ -28,7 +33,7 @@
<entry
key=
"batch_user_gen"
value=
"4"
/>
<entry
key=
"comment"
value=
"2"
/>
<entry
key=
"guanshui"
value=
"3"
/>
<entry
key=
"py"
value=
"2
57
"
/>
<entry
key=
"py"
value=
"2
82
"
/>
<entry
key=
"txt"
value=
"8"
/>
<entry
key=
"xuqiu"
value=
"2"
/>
</counts>
...
...
@@ -36,7 +41,7 @@
<usages-collector
id=
"statistics.file.types.open"
>
<counts>
<entry
key=
"PLAIN_TEXT"
value=
"19"
/>
<entry
key=
"Python"
value=
"2
57
"
/>
<entry
key=
"Python"
value=
"2
82
"
/>
</counts>
</usages-collector>
<usages-collector
id=
"statistics.file.extensions.edit"
>
...
...
@@ -44,14 +49,14 @@
<entry
key=
"comment"
value=
"59"
/>
<entry
key=
"dummy"
value=
"6"
/>
<entry
key=
"guanshui"
value=
"2"
/>
<entry
key=
"py"
value=
"6
257
"
/>
<entry
key=
"py"
value=
"6
499
"
/>
<entry
key=
"xuqiu"
value=
"223"
/>
</counts>
</usages-collector>
<usages-collector
id=
"statistics.file.types.edit"
>
<counts>
<entry
key=
"PLAIN_TEXT"
value=
"290"
/>
<entry
key=
"Python"
value=
"6
257
"
/>
<entry
key=
"Python"
value=
"6
499
"
/>
</counts>
</usages-collector>
</session>
...
...
@@ -122,7 +127,7 @@
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_lunch_app.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
132
"
>
<state
relative-caret-position=
"
493
"
>
<caret
line=
"33"
column=
"25"
selection-start-line=
"33"
selection-start-column=
"25"
selection-end-line=
"33"
selection-end-column=
"25"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
...
...
@@ -132,10 +137,10 @@
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
star_topic
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
request
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
895
"
>
<caret
line=
"
83"
column=
"20"
selection-start-line=
"83"
selection-start-column=
"20"
selection-end-line=
"83"
selection-end-column=
"20
"
/>
<state
relative-caret-position=
"
120
"
>
<caret
line=
"
129"
selection-start-line=
"129"
selection-end-line=
"129
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
...
...
@@ -143,20 +148,23 @@
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/auto_star_urge.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-395"
>
<caret
line=
"8"
column=
"42"
selection-start-line=
"8"
selection-start-column=
"42"
selection-end-line=
"8"
selection-end-column=
"42"
/>
<state
relative-caret-position=
"632"
>
<caret
line=
"47"
column=
"54"
selection-start-line=
"47"
selection-start-column=
"54"
selection-end-line=
"47"
selection-end-column=
"54"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
click_n
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
urge_three
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"8
56
"
>
<caret
line=
"6
3"
column=
"35"
selection-start-line=
"63"
selection-start-column=
"35"
selection-end-line=
"63"
selection-end-column=
"35
"
/>
<state
relative-caret-position=
"8
33
"
>
<caret
line=
"6
4"
selection-start-line=
"64"
selection-end-line=
"64
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
...
...
@@ -164,23 +172,23 @@
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
commnet
.py"
>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
user_id
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
449
"
>
<caret
line=
"
87"
selection-start-line=
"87"
selection-end-line=
"87
"
/>
<state
relative-caret-position=
"
345
"
>
<caret
line=
"
23"
column=
"13"
lean-forward=
"true"
selection-start-line=
"23"
selection-start-column=
"13"
selection-end-line=
"23"
selection-end-column=
"13
"
/>
<folding>
<element
signature=
"e#
0
#15#0"
expanded=
"true"
/>
<element
signature=
"e#
1
#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
every_day
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
star_topic
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
259
"
>
<caret
line=
"
57"
lean-forward=
"true"
selection-start-line=
"57"
selection-end-line=
"57
"
/>
<state
relative-caret-position=
"
720
"
>
<caret
line=
"
48"
column=
"62"
selection-start-line=
"48"
selection-start-column=
"62"
selection-end-line=
"48"
selection-end-column=
"62
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
...
...
@@ -191,35 +199,35 @@
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_follow_one.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
66
0"
>
<caret
line=
"
53"
lean-forward=
"true"
selection-start-line=
"53"
selection-end-line=
"53
"
/>
<state
relative-caret-position=
"
78
0"
>
<caret
line=
"
61"
column=
"20"
selection-start-line=
"61"
selection-start-column=
"20"
selection-end-line=
"61"
selection-end-column=
"20
"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_follow.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_follow
_new
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
236
"
>
<caret
line=
"
62"
column=
"59"
selection-start-line=
"62"
selection-start-column=
"59"
selection-end-line=
"62"
selection-end-column=
"59
"
/>
<state
relative-caret-position=
"
1725
"
>
<caret
line=
"
124"
column=
"16"
selection-start-line=
"124"
selection-start-column=
"16"
selection-end-line=
"124"
selection-end-column=
"16
"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<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"
>
<state
relative-caret-position=
"
1455
"
>
<caret
line=
"
106"
selection-start-line=
"106"
selection-end-line=
"106
"
/>
<state
relative-caret-position=
"
566
"
>
<caret
line=
"
70"
column=
"28"
selection-start-line=
"70"
selection-start-column=
"28"
selection-end-line=
"70"
selection-end-column=
"28
"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
request
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
every_day
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
155
"
>
<caret
line=
"
129"
column=
"4"
selection-start-line=
"129"
selection-start-column=
"4"
selection-end-line=
"129"
selection-end-column=
"4
"
/>
<state
relative-caret-position=
"
738
"
>
<caret
line=
"
57"
lean-forward=
"true"
selection-start-line=
"57"
selection-end-line=
"57
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
...
...
@@ -292,28 +300,29 @@
<option
value=
"$PROJECT_DIR$/auto_user_id.py"
/>
<option
value=
"$PROJECT_DIR$/instant.py"
/>
<option
value=
"$PROJECT_DIR$/com.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge_three.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow_one.py"
/>
<option
value=
"$PROJECT_DIR$/auto_request.py"
/>
<option
value=
"$PROJECT_DIR$/offline_comment.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click_n.py"
/>
<option
value=
"$PROJECT_DIR$/testss.py"
/>
<option
value=
"$PROJECT_DIR$/auto_commnet.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow_new.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click.py"
/>
<option
value=
"$PROJECT_DIR$/auto_every_day.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow_majia.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_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"
/>
</list>
</option>
</component>
<component
name=
"ProjectFrameBounds"
extendedState=
"6"
>
<option
name=
"y"
value=
"23"
/>
<option
name=
"width"
value=
"1280"
/>
<component
name=
"ProjectFrameBounds"
>
<option
name=
"x"
value=
"-45"
/>
<option
name=
"y"
value=
"27"
/>
<option
name=
"width"
value=
"1553"
/>
<option
name=
"height"
value=
"724"
/>
</component>
<component
name=
"ProjectView"
>
...
...
@@ -524,11 +533,12 @@
<servers
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"6"
y=
"23"
width=
"1280"
height=
"724"
extended-state=
"6"
/>
<frame
x=
"-45"
y=
"27"
width=
"1553"
height=
"724"
extended-state=
"0"
/>
<editor
active=
"true"
/>
<layout>
<window_info
id=
"Structure"
order=
"0"
sideWeight=
"0.21188119"
side_tool=
"true"
weight=
"0.19112115"
/>
<window_info
id=
"Favorites"
order=
"1"
side_tool=
"true"
/>
<window_info
content_ui=
"combo"
id=
"Project"
order=
"2"
sideWeight=
"0.7872763"
visible=
"true"
weight=
"0.16918188
"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"2"
sideWeight=
"0.7872763"
visible=
"true"
weight=
"0.14686684
"
/>
<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"
/>
...
...
@@ -538,7 +548,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"
anchor=
"bottom"
id=
"Terminal"
order=
"8"
visible=
"true"
weight=
"0.52873564
"
/>
<window_info
a
nchor=
"bottom"
id=
"Terminal"
order=
"8"
visible=
"true"
weight=
"0.022988506
"
/>
<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"
/>
...
...
@@ -752,141 +762,144 @@
</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=
"
345
"
>
<caret
line=
"2
3"
column=
"13"
lean-forward=
"true"
selection-start-line=
"23"
selection-start-column=
"13"
selection-end-line=
"23"
selection-end-column=
"1
3"
/>
<state
relative-caret-position=
"
263
"
>
<caret
line=
"2
4"
column=
"53"
selection-start-line=
"24"
selection-start-column=
"53"
selection-end-line=
"24"
selection-end-column=
"5
3"
/>
<folding>
<element
signature=
"e#
1
#15#0"
expanded=
"true"
/>
<element
signature=
"e#
0
#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
urge_three
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
click_n
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
754
"
>
<caret
line=
"
51"
lean-forward=
"true"
selection-start-line=
"51"
selection-end-line=
"51
"
/>
<state
relative-caret-position=
"
945
"
>
<caret
line=
"
63"
column=
"35"
selection-start-line=
"63"
selection-start-column=
"35"
selection-end-line=
"63"
selection-end-column=
"35
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
urge
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
click
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
395
"
>
<caret
line=
"
66"
selection-start-line=
"66"
selection-end-line=
"66
"
/>
<state
relative-caret-position=
"
210
"
>
<caret
line=
"
14"
column=
"23"
selection-start-line=
"14"
selection-start-column=
"23"
selection-end-line=
"14"
selection-end-column=
"23
"
/>
<folding>
<element
signature=
"e#0#1
5
#0"
expanded=
"true"
/>
<element
signature=
"e#0#1
1
#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_c
lick
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_c
ommnet
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
-
80"
>
<caret
line=
"
44"
column=
"23"
selection-start-line=
"44"
selection-start-column=
"23"
selection-end-line=
"44"
selection-end-column=
"23
"
/>
<state
relative-caret-position=
"
6
80"
>
<caret
line=
"
67"
column=
"20"
lean-forward=
"true"
selection-start-line=
"67"
selection-start-column=
"20"
selection-end-line=
"67"
selection-end-column=
"20
"
/>
<folding>
<element
signature=
"e#0#1
1
#0"
expanded=
"true"
/>
<element
signature=
"e#0#1
5
#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
click_n
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
urge
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
856
"
>
<caret
line=
"
63"
column=
"35"
selection-start-line=
"63"
selection-start-column=
"35"
selection-end-line=
"63"
selection-end-column=
"35
"
/>
<state
relative-caret-position=
"
324
"
>
<caret
line=
"
50"
column=
"52"
selection-start-line=
"50"
selection-start-column=
"52"
selection-end-line=
"50"
selection-end-column=
"52
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
every_day
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
star_urge
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
259
"
>
<caret
line=
"
57"
lean-forward=
"true"
selection-start-line=
"57"
selection-end-line=
"57
"
/>
<state
relative-caret-position=
"
632
"
>
<caret
line=
"
47"
column=
"54"
selection-start-line=
"47"
selection-start-column=
"54"
selection-end-line=
"47"
selection-end-column=
"54
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
follow_one
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
star_topic
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"660"
>
<caret
line=
"53"
lean-forward=
"true"
selection-start-line=
"53"
selection-end-line=
"53"
/>
<state
relative-caret-position=
"720"
>
<caret
line=
"48"
column=
"62"
selection-start-line=
"48"
selection-start-column=
"62"
selection-end-line=
"48"
selection-end-column=
"62"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
commne
t.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
reques
t.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
449
"
>
<caret
line=
"
87"
selection-start-line=
"87"
selection-end-line=
"87
"
/>
<state
relative-caret-position=
"
120
"
>
<caret
line=
"
129"
selection-start-line=
"129"
selection-end-line=
"129
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
follow_majia
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
lunch_app
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
26
3"
>
<caret
line=
"
24"
column=
"53"
selection-start-line=
"24"
selection-start-column=
"53"
selection-end-line=
"24"
selection-end-column=
"53
"
/>
<state
relative-caret-position=
"
49
3"
>
<caret
line=
"
33"
column=
"25"
selection-start-line=
"33"
selection-start-column=
"25"
selection-end-line=
"33"
selection-end-column=
"25
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_follow_
new
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_follow_
one
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
1455
"
>
<caret
line=
"
106"
selection-start-line=
"106"
selection-end-line=
"106
"
/>
<state
relative-caret-position=
"
780
"
>
<caret
line=
"
61"
column=
"20"
selection-start-line=
"61"
selection-start-column=
"20"
selection-end-line=
"61"
selection-end-column=
"20
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_follow.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_follow
_new
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
236
"
>
<caret
line=
"
62"
column=
"59"
selection-start-line=
"62"
selection-start-column=
"59"
selection-end-line=
"62"
selection-end-column=
"59
"
/>
<state
relative-caret-position=
"
1725
"
>
<caret
line=
"
124"
column=
"16"
selection-start-line=
"124"
selection-start-column=
"16"
selection-end-line=
"124"
selection-end-column=
"16
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
lunch_app
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
follow
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"132"
>
<caret
line=
"33"
column=
"25"
selection-start-line=
"33"
selection-start-column=
"25"
selection-end-line=
"33"
selection-end-column=
"25"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"566"
>
<caret
line=
"70"
column=
"28"
selection-start-line=
"70"
selection-start-column=
"28"
selection-end-line=
"70"
selection-end-column=
"28"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
request
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
every_day
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
155
"
>
<caret
line=
"
129"
column=
"4"
selection-start-line=
"129"
selection-start-column=
"4"
selection-end-line=
"129"
selection-end-column=
"4
"
/>
<state
relative-caret-position=
"
738
"
>
<caret
line=
"
57"
lean-forward=
"true"
selection-start-line=
"57"
selection-end-line=
"57
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</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"
>
<state
relative-caret-position=
"8
95
"
>
<caret
line=
"
83"
column=
"20"
selection-start-line=
"83"
selection-start-column=
"20"
selection-end-line=
"83"
selection-end-column=
"20
"
/>
<state
relative-caret-position=
"8
33
"
>
<caret
line=
"
64"
selection-start-line=
"64"
selection-end-line=
"64
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
star_urge
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
user_id
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-395"
>
<caret
line=
"8"
column=
"42"
selection-start-line=
"8"
selection-start-column=
"42"
selection-end-line=
"8"
selection-end-column=
"42"
/>
<state
relative-caret-position=
"345"
>
<caret
line=
"23"
column=
"13"
lean-forward=
"true"
selection-start-line=
"23"
selection-start-column=
"13"
selection-end-line=
"23"
selection-end-column=
"13"
/>
<folding>
<element
signature=
"e#1#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
...
...
auto_every_day.py
View file @
1625fbf1
...
...
@@ -56,7 +56,7 @@ if __name__ == "__main__":
numtime1
,
numtime2
=
time_convs
(
1
,
1
)
user_id
=
get_topic_new_user
(
numtime1
,
numtime2
)
user_id
=
get_topic_new_user
(
numtime1
,
numtime2
)
follow_num
=
random
.
randint
(
1
,
2
)
...
...
auto_follow.py
View file @
1625fbf1
...
...
@@ -54,9 +54,9 @@ if __name__ == "__main__":
for
i
in
range
(
follow_num
):
if
user_id
:
try
:
for
j
in
user_id
:
for
j
in
user_id
and
user_id
:
id
=
int
(
j
[
0
])
...
...
@@ -67,8 +67,8 @@ if __name__ == "__main__":
if
cookies
is
not
None
:
follow
(
cookies
,
id
)
time
.
sleep
(
60
)
except
:
pass
except
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
auto_follow_new.py
View file @
1625fbf1
...
...
@@ -105,20 +105,24 @@ if __name__ == "__main__":
user_id
=
get_commnet_id
(
numtime1
)
for
j
in
user_id
and
user_id
:
try
:
id
=
int
(
j
[
0
])
for
j
in
user_id
and
user_id
:
follow_num
=
random
.
randint
(
0
,
1
)
id
=
int
(
j
[
0
]
)
for
i
in
range
(
follow_num
):
follow_num
=
random
.
randint
(
0
,
1
)
time
.
sleep
(
random
.
randint
(
10
,
50
))
for
i
in
range
(
follow_num
):
cookies
=
login
(
)
time
.
sleep
(
random
.
randint
(
10
,
50
)
)
if
cookies
is
not
None
:
follow
(
cookies
,
id
)
cookies
=
login
()
if
cookies
is
not
None
:
follow
(
cookies
,
id
)
except
:
pass
except
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
auto_follow_one.py
View file @
1625fbf1
...
...
@@ -46,16 +46,19 @@ if __name__ == "__main__":
for
j
in
range
(
urge_num
):
for
i
in
user_id
and
user_id
:
try
:
cookies
=
get_cookies
(
i
)
for
i
in
user_id
and
user_id
:
time
.
sleep
(
random
.
randint
(
10
,
40
)
)
cookies
=
get_cookies
(
i
)
cook
=
login
(
)
time
.
sleep
(
random
.
randint
(
10
,
40
)
)
if
cook
is
not
None
:
follow
(
cook
,
i
)
cook
=
login
()
if
cook
is
not
None
:
follow
(
cook
,
i
)
except
:
pass
except
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
auto_star_topic.py
View file @
1625fbf1
...
...
@@ -10,12 +10,13 @@ from auto_request import login, time_convs, follow, click
from
auto_request
import
host
,
user
,
db
,
passwd
def
get_star_user_id
(
numtime
):
def
get_star_user_id
(
numtime
1
,
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 (content_level =4 or content_level =5) and create_time > '
%
s' "
%
numtime
)
"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
))
data
=
cursor
.
fetchall
()
user_id_list
=
list
(
data
)
logging
.
info
(
"Database version :
%
s "
%
user_id_list
)
...
...
@@ -45,11 +46,11 @@ if __name__ == "__main__":
numtime1
,
numtime2
=
time_convs
(
i
+
1
,
i
-
1
)
user_topic_id
=
get_star_user_id
(
numtime1
)
user_topic_id
=
get_star_user_id
(
numtime1
,
numtime2
)
if
user_topic_id
:
try
:
for
j
in
user_topic_id
:
for
j
in
user_topic_id
and
user_topic_id
:
id
=
int
(
j
[
1
])
...
...
@@ -63,6 +64,8 @@ if __name__ == "__main__":
if
cookies
is
not
None
:
click
(
cookies
,
id
)
except
:
pass
user_id
=
get_star_user_id
(
numtime1
)
...
...
auto_star_urge.py
View file @
1625fbf1
...
...
@@ -10,12 +10,13 @@ from auto_request import login, time_convs, Urge
from
auto_request
import
host
,
user
,
db
,
passwd
def
get_star_useid
(
numtime
):
def
get_star_useid
(
numtime
1
,
numtime2
):
try
:
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'"
%
numtime
)
"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'"
%
(
numtime1
,
numtime2
))
data
=
cursor
.
fetchall
()
user_id
=
list
(
data
)
topic_id_list
=
[]
...
...
@@ -42,22 +43,27 @@ if __name__ == "__main__":
for
i
in
time_list
:
numtime1
,
numtime2
=
time_convs
(
i
+
1
,
i
-
1
)
numtime1
,
numtime2
=
time_convs
(
i
+
1
,
i
-
1
)
user_id
=
get_star_useid
(
numtime1
)
user_id
=
get_star_useid
(
numtime1
,
numtime2
)
for
j
in
user_id
and
user_id
:
try
:
id
=
int
(
j
[
0
])
for
j
in
user_id
and
user_id
:
for
i
in
range
(
1
):
id
=
int
(
j
[
0
])
time
.
sleep
(
random
.
randint
(
10
,
50
))
for
i
in
range
(
1
):
cookies
=
login
(
)
time
.
sleep
(
random
.
randint
(
10
,
50
)
)
if
cookies
is
not
None
:
Urge
(
cookies
,
id
)
cookies
=
login
()
if
cookies
is
not
None
:
Urge
(
cookies
,
id
)
except
:
pass
except
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
auto_urge.py
View file @
1625fbf1
...
...
@@ -11,12 +11,12 @@ from auto_request import host, user, db, passwd
import
threading
def
get_data
(
numtime
):
def
get_data
(
numtime
1
,
numtime2
):
try
:
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 create_time > '
%
s'
"
%
numtime
)
"SELECT distinct(user_id) FROM topic WHERE is_online=1 and create_time > '
%
s'
and create_time < '
%
s'"
%
(
numtime1
,
numtime2
)
)
data
=
cursor
.
fetchall
()
user_id
=
list
(
data
)
...
...
@@ -48,21 +48,24 @@ if __name__ == "__main__":
numtime1
,
numtime2
=
time_convs
(
i
+
1
,
i
-
1
)
user_id
=
get_data
(
numtime1
)
user_id
=
get_data
(
numtime1
,
numtime2
)
urge_num
=
random
.
randint
(
0
,
2
)
for
i
in
range
(
urge_num
):
try
:
for
j
in
user_id
and
user_id
:
for
j
in
user_id
and
user_id
:
id
=
int
(
j
[
0
])
id
=
int
(
j
[
0
])
time
.
sleep
(
random
.
randint
(
10
,
50
))
time
.
sleep
(
random
.
randint
(
10
,
50
))
cookies
=
login
()
cookies
=
login
()
if
cookies
is
not
None
:
Urge
(
cookies
,
id
)
if
cookies
is
not
None
:
Urge
(
cookies
,
id
)
except
:
pass
except
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
auto_urge_three.py
View file @
1625fbf1
...
...
@@ -50,20 +50,18 @@ if __name__ == "__main__":
for
j
in
range
(
2
):
for
i
in
user_id
and
user_id
:
try
:
time
.
sleep
(
random
.
randint
(
10
,
15
))
for
i
in
user_id
and
user_id
:
cook
=
login
(
)
time
.
sleep
(
random
.
randint
(
10
,
15
)
)
if
cook
is
not
None
:
Urge
(
cook
,
i
)
sleep_time
=
random
.
randint
(
300
,
540
)
timer
=
threading
.
Timer
(
1
,
urge_user
)
# 首次启动
timer
.
start
()
cook
=
login
()
if
cook
is
not
None
:
Urge
(
cook
,
i
)
except
:
pass
except
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment