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
2f6b4dff
Commit
2f6b4dff
authored
Jun 28, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
48940a01
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
248 additions
and
178 deletions
+248
-178
workspace.xml
.idea/workspace.xml
+175
-157
auto_follow.py
auto_follow.py
+9
-21
auto_follow2.py
auto_follow2.py
+64
-0
No files found.
.idea/workspace.xml
View file @
2f6b4dff
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,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
beforePath=
"$PROJECT_DIR$/
auto_user_id.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_user_id.py
"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/
.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml
"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/
test.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/test
.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/
auto_follow.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_follow
.py"
afterDir=
"false"
/>
</list>
</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"
/>
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<entry
key=
"batch_user_gen"
value=
"11"
/>
<entry
key=
"batch_user_gen"
value=
"11"
/>
<entry
key=
"comment"
value=
"2"
/>
<entry
key=
"comment"
value=
"2"
/>
<entry
key=
"guanshui"
value=
"6"
/>
<entry
key=
"guanshui"
value=
"6"
/>
<entry
key=
"py"
value=
"4
11
"
/>
<entry
key=
"py"
value=
"4
25
"
/>
<entry
key=
"txt"
value=
"24"
/>
<entry
key=
"txt"
value=
"24"
/>
<entry
key=
"xuqiu"
value=
"2"
/>
<entry
key=
"xuqiu"
value=
"2"
/>
</counts>
</counts>
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
<usages-collector
id=
"statistics.file.types.open"
>
<usages-collector
id=
"statistics.file.types.open"
>
<counts>
<counts>
<entry
key=
"PLAIN_TEXT"
value=
"46"
/>
<entry
key=
"PLAIN_TEXT"
value=
"46"
/>
<entry
key=
"Python"
value=
"4
11
"
/>
<entry
key=
"Python"
value=
"4
25
"
/>
</counts>
</counts>
</usages-collector>
</usages-collector>
<usages-collector
id=
"statistics.file.extensions.edit"
>
<usages-collector
id=
"statistics.file.extensions.edit"
>
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
<entry
key=
"comment"
value=
"59"
/>
<entry
key=
"comment"
value=
"59"
/>
<entry
key=
"dummy"
value=
"11"
/>
<entry
key=
"dummy"
value=
"11"
/>
<entry
key=
"guanshui"
value=
"2"
/>
<entry
key=
"guanshui"
value=
"2"
/>
<entry
key=
"py"
value=
"8
452
"
/>
<entry
key=
"py"
value=
"8
565
"
/>
<entry
key=
"txt"
value=
"96"
/>
<entry
key=
"txt"
value=
"96"
/>
<entry
key=
"xuqiu"
value=
"223"
/>
<entry
key=
"xuqiu"
value=
"223"
/>
</counts>
</counts>
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
<usages-collector
id=
"statistics.file.types.edit"
>
<usages-collector
id=
"statistics.file.types.edit"
>
<counts>
<counts>
<entry
key=
"PLAIN_TEXT"
value=
"391"
/>
<entry
key=
"PLAIN_TEXT"
value=
"391"
/>
<entry
key=
"Python"
value=
"8
452
"
/>
<entry
key=
"Python"
value=
"8
565
"
/>
</counts>
</counts>
</usages-collector>
</usages-collector>
</session>
</session>
...
@@ -126,49 +126,55 @@
...
@@ -126,49 +126,55 @@
<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_
user_id
.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=
"265"
>
<state
relative-caret-position=
"380"
>
<caret
line=
"27"
column=
"18"
lean-forward=
"true"
selection-start-line=
"27"
selection-start-column=
"18"
selection-end-line=
"27"
selection-end-column=
"18"
/>
<caret
line=
"47"
column=
"42"
lean-forward=
"true"
selection-start-line=
"47"
selection-start-column=
"21"
selection-end-line=
"47"
selection-end-column=
"42"
/>
<folding>
<element
signature=
"e#0#15#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$/
tes
t.py"
>
<entry
file=
"file://$PROJECT_DIR$/
auto_commen
t.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"460"
>
<state
relative-caret-position=
"251"
>
<caret
line=
"54"
column=
"22"
selection-start-line=
"54"
selection-start-column=
"22"
selection-end-line=
"54"
selection-end-column=
"22"
/>
<caret
line=
"71"
column=
"60"
lean-forward=
"true"
selection-end-line=
"90"
/>
<folding>
<element
signature=
"e#0#15#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$/
batch_user_gen
"
>
<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=
"533"
>
<state
relative-caret-position=
"432"
>
<caret
line=
"282"
column=
"19"
lean-forward=
"true"
selection-start-line=
"282"
selection-start-column=
"19"
selection-end-line=
"282"
selection-end-column=
"19"
/>
<caret
line=
"52"
column=
"16"
lean-forward=
"true"
selection-start-line=
"52"
selection-start-column=
"16"
selection-end-line=
"54"
selection-end-column=
"46"
/>
<folding>
<element
signature=
"e#0#14#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$/
auto_star_urge
.py"
>
<entry
file=
"file://$PROJECT_DIR$/
fix_no_comment_click
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"415"
>
<state
relative-caret-position=
"189"
>
<caret
line=
"47"
column=
"39"
lean-forward=
"true"
selection-start-line=
"47"
selection-start-column=
"39"
selection-end-line=
"47"
selection-end-column=
"39"
/>
<caret
line=
"19"
column=
"47"
selection-start-line=
"19"
selection-start-column=
"47"
selection-end-line=
"19"
selection-end-column=
"47"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</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_request
.py"
>
<entry
file=
"file://$PROJECT_DIR$/
one_by_one
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
193
"
>
<state
relative-caret-position=
"
340
"
>
<caret
line=
"
296"
column=
"22"
selection-start-line=
"296"
selection-start-column=
"22"
selection-end-line=
"296"
selection-end-column=
"22
"
/>
<caret
line=
"
69"
column=
"47"
selection-start-line=
"69"
selection-start-column=
"47"
selection-end-line=
"69"
selection-end-column=
"47
"
/>
<folding>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</folding>
...
@@ -176,47 +182,47 @@
...
@@ -176,47 +182,47 @@
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
star_topic
.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=
"
-427
"
>
<state
relative-caret-position=
"
355
"
>
<caret
line=
"
21"
column=
"61"
lean-forward=
"true"
selection-start-line=
"21"
selection-start-column=
"61"
selection-end-line=
"21"
selection-end-column=
"61
"
/>
<caret
line=
"
55"
lean-forward=
"true"
selection-start-line=
"55"
selection-end-line=
"55
"
/>
</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_
urge3
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
click2
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
480
"
>
<state
relative-caret-position=
"
191
"
>
<caret
line=
"
42"
column=
"8"
lean-forward=
"true"
selection-start-line=
"42"
selection-start-column=
"8"
selection-end-line=
"42"
selection-end-column=
"8
"
/>
<caret
line=
"
31"
column=
"66"
lean-forward=
"true"
selection-start-line=
"31"
selection-start-column=
"12"
selection-end-line=
"31"
selection-end-column=
"66
"
/>
</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_
urge_three
.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
1
5"
>
<state
relative-caret-position=
"3
5
5"
>
<caret
line=
"
32"
column=
"25"
selection-start-line=
"32"
selection-start-column=
"25"
selection-end-line=
"32"
selection-end-column=
"2
5"
/>
<caret
line=
"
42"
column=
"45"
lean-forward=
"true"
selection-start-line=
"42"
selection-start-column=
"45"
selection-end-line=
"42"
selection-end-column=
"4
5"
/>
</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$/
comment.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=
"
355
"
>
<state
relative-caret-position=
"
290
"
>
<caret
line=
"5
90"
column=
"3"
lean-forward=
"true"
selection-start-line=
"590"
selection-start-column=
"3"
selection-end-line=
"590"
selection-end-column=
"3
"
/>
<caret
line=
"5
8"
column=
"21"
selection-start-line=
"58"
selection-start-column=
"21"
selection-end-line=
"58"
selection-end-column=
"21
"
/>
</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_
urge_three
1.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
click
1.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
13
5"
>
<state
relative-caret-position=
"
41
5"
>
<caret
line=
"
20"
column=
"22"
lean-forward=
"true"
selection-start-line=
"20"
selection-start-column=
"22"
selection-end-line=
"20"
selection-end-column=
"22
"
/>
<caret
line=
"
46"
selection-start-line=
"46"
selection-end-line=
"49"
selection-end-column=
"33
"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
@@ -241,6 +247,8 @@
...
@@ -241,6 +247,8 @@
<find>
s_PoKDa9@shadow.com
</find>
<find>
s_PoKDa9@shadow.com
</find>
<find>
dict
</find>
<find>
dict
</find>
<find>
celery_task
</find>
<find>
celery_task
</find>
<find>
user_id.txt
</find>
<find>
user_session.txt
</find>
</findStrings>
</findStrings>
<dirStrings>
<dirStrings>
<dir>
$PROJECT_DIR$
</dir>
<dir>
$PROJECT_DIR$
</dir>
...
@@ -252,7 +260,6 @@
...
@@ -252,7 +260,6 @@
<component
name=
"IdeDocumentHistory"
>
<component
name=
"IdeDocumentHistory"
>
<option
name=
"CHANGED_PATHS"
>
<option
name=
"CHANGED_PATHS"
>
<list>
<list>
<option
value=
"$PROJECT_DIR$/tasks/auto_at_once.py"
/>
<option
value=
"$PROJECT_DIR$/_celery.py"
/>
<option
value=
"$PROJECT_DIR$/_celery.py"
/>
<option
value=
"$PROJECT_DIR$/auto_at_once.py"
/>
<option
value=
"$PROJECT_DIR$/auto_at_once.py"
/>
<option
value=
"$PROJECT_DIR$/instant.py"
/>
<option
value=
"$PROJECT_DIR$/instant.py"
/>
...
@@ -272,21 +279,17 @@
...
@@ -272,21 +279,17 @@
<option
value=
"$PROJECT_DIR$/auto_comment3.py"
/>
<option
value=
"$PROJECT_DIR$/auto_comment3.py"
/>
<option
value=
"$PROJECT_DIR$/auto_comment2.py"
/>
<option
value=
"$PROJECT_DIR$/auto_comment2.py"
/>
<option
value=
"$PROJECT_DIR$/auto_every_day.py"
/>
<option
value=
"$PROJECT_DIR$/auto_every_day.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow_new.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow_new.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow_one.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow_one.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge_three.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge_three.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge_three1.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge_three1.py"
/>
<option
value=
"$PROJECT_DIR$/log_settings.py"
/>
<option
value=
"$PROJECT_DIR$/log_settings.py"
/>
<option
value=
"$PROJECT_DIR$/offline_comment.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click_51.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click_51.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click_fan.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click_fan.py"
/>
<option
value=
"$PROJECT_DIR$/auto_comment_fan.py"
/>
<option
value=
"$PROJECT_DIR$/auto_comment_fan.py"
/>
<option
value=
"$PROJECT_DIR$/auto_comment_51.py"
/>
<option
value=
"$PROJECT_DIR$/auto_comment_51.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow_majia.py"
/>
<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$/user_session.txt"
/>
<option
value=
"$PROJECT_DIR$/user_session.txt"
/>
<option
value=
"$PROJECT_DIR$/auto_comment1.py"
/>
<option
value=
"$PROJECT_DIR$/auto_comment1.py"
/>
<option
value=
"$PROJECT_DIR$/auto_lunch_app.py"
/>
<option
value=
"$PROJECT_DIR$/auto_lunch_app.py"
/>
...
@@ -294,7 +297,6 @@
...
@@ -294,7 +297,6 @@
<option
value=
"$PROJECT_DIR$/auto_click2.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click2.py"
/>
<option
value=
"$PROJECT_DIR$/comment.txt"
/>
<option
value=
"$PROJECT_DIR$/comment.txt"
/>
<option
value=
"$PROJECT_DIR$/guanshui"
/>
<option
value=
"$PROJECT_DIR$/guanshui"
/>
<option
value=
"$PROJECT_DIR$/one_by_one.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge2.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge2.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge3.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge3.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge1.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge1.py"
/>
...
@@ -302,11 +304,17 @@
...
@@ -302,11 +304,17 @@
<option
value=
"$PROJECT_DIR$/auto_star_urge.py"
/>
<option
value=
"$PROJECT_DIR$/auto_star_urge.py"
/>
<option
value=
"$PROJECT_DIR$/test.py"
/>
<option
value=
"$PROJECT_DIR$/test.py"
/>
<option
value=
"$PROJECT_DIR$/auto_user_id.py"
/>
<option
value=
"$PROJECT_DIR$/auto_user_id.py"
/>
<option
value=
"$PROJECT_DIR$/offline_comment.py"
/>
<option
value=
"$PROJECT_DIR$/offline_click.py"
/>
<option
value=
"$PROJECT_DIR$/one_by_one_comment.py"
/>
<option
value=
"$PROJECT_DIR$/auto_request.py"
/>
<option
value=
"$PROJECT_DIR$/auto_request.py"
/>
<option
value=
"$PROJECT_DIR$/fix_no_comment_click.py"
/>
<option
value=
"$PROJECT_DIR$/one_by_one.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow.py"
/>
</list>
</list>
</option>
</option>
</component>
</component>
<component
name=
"ProjectFrameBounds"
>
<component
name=
"ProjectFrameBounds"
extendedState=
"6"
>
<option
name=
"y"
value=
"23"
/>
<option
name=
"y"
value=
"23"
/>
<option
name=
"width"
value=
"1280"
/>
<option
name=
"width"
value=
"1280"
/>
<option
name=
"height"
value=
"720"
/>
<option
name=
"height"
value=
"720"
/>
...
@@ -519,12 +527,12 @@
...
@@ -519,12 +527,12 @@
<servers
/>
<servers
/>
</component>
</component>
<component
name=
"ToolWindowManager"
>
<component
name=
"ToolWindowManager"
>
<frame
x=
"0"
y=
"23"
width=
"1280"
height=
"720"
extended-state=
"
0
"
/>
<frame
x=
"0"
y=
"23"
width=
"1280"
height=
"720"
extended-state=
"
6
"
/>
<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
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"2"
sideWeight=
"0.7872763"
visible=
"true"
weight=
"0.
19459888
"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"2"
sideWeight=
"0.7872763"
visible=
"true"
weight=
"0.
092136614
"
/>
<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"
/>
...
@@ -603,7 +611,6 @@
...
@@ -603,7 +611,6 @@
</breakpoint-manager>
</breakpoint-manager>
</component>
</component>
<component
name=
"editorHistoryManager"
>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/celeryconfig.py"
/>
<entry
file=
"file://$PROJECT_DIR$/auto_at_once.py"
/>
<entry
file=
"file://$PROJECT_DIR$/auto_at_once.py"
/>
<entry
file=
"file://$PROJECT_DIR$/instant.py"
/>
<entry
file=
"file://$PROJECT_DIR$/instant.py"
/>
<entry
file=
"file://$PROJECT_DIR$/com.py"
/>
<entry
file=
"file://$PROJECT_DIR$/com.py"
/>
...
@@ -617,13 +624,6 @@
...
@@ -617,13 +624,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_comment.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"554"
>
<caret
line=
"90"
lean-forward=
"true"
selection-start-line=
"90"
selection-end-line=
"90"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_click_instant.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=
"479"
>
<state
relative-caret-position=
"479"
>
...
@@ -631,13 +631,6 @@
...
@@ -631,13 +631,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_follow.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-136"
>
<caret
line=
"32"
column=
"32"
lean-forward=
"true"
selection-start-line=
"32"
selection-start-column=
"32"
selection-end-line=
"32"
selection-end-column=
"32"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_follow_new.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=
"554"
>
<state
relative-caret-position=
"554"
>
...
@@ -681,16 +674,6 @@
...
@@ -681,16 +674,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/offline_click.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"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_click4.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_click4.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"195"
>
<state
relative-caret-position=
"195"
>
...
@@ -726,16 +709,6 @@
...
@@ -726,16 +709,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_comment1.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>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_lunch_app2.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_lunch_app2.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"591"
>
<state
relative-caret-position=
"591"
>
...
@@ -746,34 +719,6 @@
...
@@ -746,34 +719,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_lunch_app.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>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_click.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>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_click1.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>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_click2.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>
</provider>
</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=
"225"
>
<state
relative-caret-position=
"225"
>
...
@@ -791,26 +736,6 @@
...
@@ -791,26 +736,6 @@
<entry
file=
"file://$PROJECT_DIR$/README"
>
<entry
file=
"file://$PROJECT_DIR$/README"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/one_by_one_comment.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<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$/one_by_one.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<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$/user_id.txt"
>
<entry
file=
"file://$PROJECT_DIR$/user_id.txt"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
</entry>
...
@@ -828,13 +753,6 @@
...
@@ -828,13 +753,6 @@
</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=
"182"
>
<caret
line=
"39"
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_urge2.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_urge2.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"205"
>
<state
relative-caret-position=
"205"
>
...
@@ -842,16 +760,6 @@
...
@@ -842,16 +760,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<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>
<entry
file=
"file://$PROJECT_DIR$/auto_star_topic.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=
"-427"
>
<state
relative-caret-position=
"-427"
>
...
@@ -901,32 +809,141 @@
...
@@ -901,32 +809,141 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_user_id.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"265"
>
<caret
line=
"27"
column=
"18"
lean-forward=
"true"
selection-start-line=
"27"
selection-start-column=
"18"
selection-end-line=
"27"
selection-end-column=
"18"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/offline_comment.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"182"
>
<caret
line=
"68"
column=
"50"
selection-start-line=
"68"
selection-start-column=
"50"
selection-end-line=
"68"
selection-end-column=
"50"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/offline_click.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"383"
>
<caret
line=
"112"
column=
"50"
selection-start-line=
"112"
selection-start-column=
"50"
selection-end-line=
"112"
selection-end-column=
"50"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/one_by_one_comment.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"325"
>
<caret
line=
"50"
column=
"65"
selection-start-line=
"50"
selection-start-column=
"65"
selection-end-line=
"50"
selection-end-column=
"65"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/test.py"
>
<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=
"
460
"
>
<state
relative-caret-position=
"
295
"
>
<caret
line=
"
54"
column=
"22"
selection-start-line=
"54"
selection-start-column=
"22"
selection-end-line=
"54"
selection-end-column=
"22
"
/>
<caret
line=
"
43"
column=
"23"
lean-forward=
"true"
selection-start-line=
"43"
selection-start-column=
"23"
selection-end-line=
"43"
selection-end-column=
"23
"
/>
<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_u
ser_id
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_u
rge1
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"265"
>
<state
relative-caret-position=
"413"
>
<caret
line=
"27"
column=
"18"
lean-forward=
"true"
selection-start-line=
"27"
selection-start-column=
"18"
selection-end-line=
"27"
selection-end-column=
"18"
/>
<caret
line=
"54"
column=
"44"
selection-start-line=
"54"
selection-end-line=
"55"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_click.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"290"
>
<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_comment.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"251"
>
<caret
line=
"71"
column=
"60"
lean-forward=
"true"
selection-end-line=
"90"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_lunch_app.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>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_click1.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"415"
>
<caret
line=
"46"
selection-start-line=
"46"
selection-end-line=
"49"
selection-end-column=
"33"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_comment1.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"432"
>
<caret
line=
"52"
column=
"16"
lean-forward=
"true"
selection-start-line=
"52"
selection-start-column=
"16"
selection-end-line=
"54"
selection-end-column=
"46"
/>
<folding>
<element
signature=
"e#0#14#0"
expanded=
"true"
/>
</folding>
</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=
"
193
"
>
<state
relative-caret-position=
"
380
"
>
<caret
line=
"
296"
column=
"22"
selection-start-line=
"296"
selection-start-column=
"22"
selection-end-line=
"296"
selection-end-column=
"2
2"
/>
<caret
line=
"
47"
column=
"42"
lean-forward=
"true"
selection-start-line=
"47"
selection-start-column=
"21"
selection-end-line=
"47"
selection-end-column=
"4
2"
/>
<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_click2.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"191"
>
<caret
line=
"31"
column=
"66"
lean-forward=
"true"
selection-start-line=
"31"
selection-start-column=
"12"
selection-end-line=
"31"
selection-end-column=
"66"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/fix_no_comment_click.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"189"
>
<caret
line=
"19"
column=
"47"
selection-start-line=
"19"
selection-start-column=
"47"
selection-end-line=
"19"
selection-end-column=
"47"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/one_by_one.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"340"
>
<caret
line=
"69"
column=
"47"
selection-start-line=
"69"
selection-start-column=
"47"
selection-end-line=
"69"
selection-end-column=
"47"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_follow.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"355"
>
<caret
line=
"55"
lean-forward=
"true"
selection-start-line=
"55"
selection-end-line=
"55"
/>
</state>
</provider>
</entry>
</component>
</component>
</project>
</project>
\ No newline at end of file
auto_follow.py
View file @
2f6b4dff
...
@@ -40,35 +40,23 @@ if __name__ == "__main__":
...
@@ -40,35 +40,23 @@ if __name__ == "__main__":
try
:
try
:
time_list
=
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
11
]
time_list
=
[
1
,
2
,
3
,
4
,
5
,
6
,
7
]
for
i
in
range
(
len
(
time_list
)):
numtime1
,
numtime2
=
time_convs
(
8
,
0
)
if
time_list
[
i
]
!=
11
:
user_id
=
get_data
(
numtime1
,
numtime2
)
numtime1
,
numtime2
=
time_convs
(
time_list
[
i
]
+
1
,
time_list
[
i
]
-
1
)
follow_num
=
random
.
randint
(
1
,
2
)
user_id
=
get_data
(
numtime1
,
numtime2
)
for
j
in
user_id
and
user_id
:
follow_num
=
random
.
randint
(
1
,
2
)
id
=
int
(
j
[
0
]
)
for
i
in
range
(
follow_num
):
cookies
=
login
()
try
:
if
cookies
is
not
None
:
follow
(
cookies
,
id
)
for
j
in
user_id
and
user_id
:
id
=
int
(
j
[
0
])
time
.
sleep
(
random
.
randint
(
10
,
20
))
cookies
=
login
()
if
cookies
is
not
None
:
follow
(
cookies
,
id
)
except
:
pass
except
:
except
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
auto_follow2.py
0 → 100644
View file @
2f6b4dff
import
requests
import
time
import
datetime
import
pymysql
import
random
import
traceback
from
log_settings
import
*
import
logging
from
auto_request
import
login
,
time_convs
,
follow
from
auto_request
import
host
,
user
,
port
,
db
,
passwd
def
get_data
(
numtime1
,
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' and create_time < '
%
s'"
%
(
numtime1
,
numtime2
))
data
=
cursor
.
fetchall
()
user_id
=
list
(
data
)
topic_id_list
=
[]
if
user_id
:
for
i
in
user_id
:
cursor
.
execute
(
"select user_id from user_extra where user_id ="
+
str
(
i
[
0
])
+
" and is_shadow =0"
)
data
=
cursor
.
fetchall
()
id
=
list
(
data
)
if
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
]
numtime1
,
numtime2
=
time_convs
(
8
,
0
)
user_id
=
get_data
(
numtime1
,
numtime2
)
follow_num
=
random
.
randint
(
0
,
1
)
if
follow_num
==
1
:
for
j
in
user_id
and
user_id
:
id
=
int
(
j
[
0
])
cookies
=
login
()
if
cookies
is
not
None
:
follow
(
cookies
,
id
)
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