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
322b46ac
Commit
322b46ac
authored
Dec 04, 2018
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hh
parent
5ca64ea2
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
357 additions
and
283 deletions
+357
-283
workspace.xml
.idea/workspace.xml
+148
-118
aotu_at_once.py
aotu_at_once.py
+29
-25
auto_click.py
auto_click.py
+26
-18
auto_click_star.py
auto_click_star.py
+30
-26
auto_commnet.py
auto_commnet.py
+22
-16
auto_follow.py
auto_follow.py
+27
-23
auto_follow_majia.py
auto_follow_majia.py
+25
-8
auto_pick.py
auto_pick.py
+25
-29
auto_urge.py
auto_urge.py
+25
-20
No files found.
.idea/workspace.xml
View file @
322b46ac
...
...
@@ -2,7 +2,14 @@
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"fd1f0b61-1139-44e5-87e7-f8b86ff52376"
name=
"Default Changelist"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/aotu_at_once.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/aotu_at_once.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_click.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_click.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_click_star.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_click_star.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_commnet.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_commnet.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_follow.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_follow.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_follow_majia.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_follow_majia.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_pick.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_pick.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_urge.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_urge.py"
afterDir=
"false"
/>
</list>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
...
...
@@ -63,7 +70,7 @@
<entry
key=
"cuigeng"
value=
"3"
/>
<entry
key=
"data"
value=
"1"
/>
<entry
key=
"guanshui"
value=
"3"
/>
<entry
key=
"py"
value=
"
60
"
/>
<entry
key=
"py"
value=
"
72
"
/>
<entry
key=
"xuqiu"
value=
"3"
/>
</counts>
</usages-collector>
...
...
@@ -71,7 +78,7 @@
<counts>
<entry
key=
"CSV"
value=
"1"
/>
<entry
key=
"PLAIN_TEXT"
value=
"27"
/>
<entry
key=
"Python"
value=
"
60
"
/>
<entry
key=
"Python"
value=
"
72
"
/>
</counts>
</usages-collector>
<usages-collector
id=
"statistics.file.extensions.edit"
>
...
...
@@ -80,7 +87,7 @@
<entry
key=
"comment"
value=
"16"
/>
<entry
key=
"cuigeng"
value=
"1"
/>
<entry
key=
"data"
value=
"12"
/>
<entry
key=
"py"
value=
"
2944
"
/>
<entry
key=
"py"
value=
"
3131
"
/>
<entry
key=
"unr_data"
value=
"1"
/>
<entry
key=
"xuqiu"
value=
"1"
/>
</counts>
...
...
@@ -88,46 +95,27 @@
<usages-collector
id=
"statistics.file.types.edit"
>
<counts>
<entry
key=
"PLAIN_TEXT"
value=
"35"
/>
<entry
key=
"Python"
value=
"
2944
"
/>
<entry
key=
"Python"
value=
"
3131
"
/>
</counts>
</usages-collector>
</session>
</component>
<component
name=
"FileEditorManager"
>
<leaf>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/guanshui"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"339"
>
<caret
line=
"265"
column=
"14"
lean-forward=
"true"
selection-start-line=
"265"
selection-start-column=
"14"
selection-end-line=
"265"
selection-end-column=
"14"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_click.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"94"
>
<caret
line=
"20"
selection-start-line=
"20"
selection-end-line=
"20"
/>
<folding>
<element
signature=
"e#453#656#0"
/>
<element
signature=
"e#672#904#0"
/>
<element
signature=
"e#942#1113#0"
/>
<element
signature=
"e#1134#1559#0"
/>
<marker
date=
"1543905072000"
expanded=
"true"
signature=
"323:324"
ph=
"..."
/>
<marker
date=
"1543905072000"
expanded=
"false"
signature=
"323:325"
ph=
"..."
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/a
uto_commnet
.py"
>
<entry
file=
"file://$PROJECT_DIR$/a
otu_at_once
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
301
"
>
<caret
line=
"1
12"
column=
"35"
lean-forward=
"true"
selection-start-line=
"112"
selection-start-column=
"35"
selection-end-line=
"112"
selection-end-column=
"35
"
/>
<state
relative-caret-position=
"
173
"
>
<caret
line=
"1
9"
column=
"12"
selection-start-line=
"19"
selection-start-column=
"12"
selection-end-line=
"19"
selection-end-column=
"12
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#403#463#0"
/>
<element
signature=
"e#736#969#0"
/>
<element
signature=
"e#1001#1233#0"
/>
<element
signature=
"e#1275#1501#0"
/>
<element
signature=
"e#1526#1621#0"
/>
<element
signature=
"e#1652#2079#0"
/>
<element
signature=
"e#2106#2359#0"
/>
</folding>
</state>
</provider>
...
...
@@ -154,23 +142,23 @@
<option
value=
"$PROJECT_DIR$/unr_data"
/>
<option
value=
"$PROJECT_DIR$/cuigeng"
/>
<option
value=
"$PROJECT_DIR$/README"
/>
<option
value=
"$PROJECT_DIR$/auto_follow.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click_star.py"
/>
<option
value=
"$PROJECT_DIR$/auto_pick.py"
/>
<option
value=
"$PROJECT_DIR$/auto_start_up.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow_majia.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge.py"
/>
<option
value=
"$PROJECT_DIR$/aotu_at_once.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge.py"
/>
<option
value=
"$PROJECT_DIR$/auto_pick.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow_majia.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow.py"
/>
<option
value=
"$PROJECT_DIR$/auto_commnet.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click_star.py"
/>
<option
value=
"$PROJECT_DIR$/aotu_at_once.py"
/>
</list>
</option>
</component>
<component
name=
"ProjectFrameBounds"
>
<option
name=
"x"
value=
"
267
"
/>
<option
name=
"y"
value=
"
35
"
/>
<component
name=
"ProjectFrameBounds"
extendedState=
"1"
>
<option
name=
"x"
value=
"
140
"
/>
<option
name=
"y"
value=
"
23
"
/>
<option
name=
"width"
value=
"1280"
/>
<option
name=
"height"
value=
"
624
"
/>
<option
name=
"height"
value=
"
725
"
/>
</component>
<component
name=
"ProjectView"
>
<navigator
proportions=
""
version=
"1"
>
...
...
@@ -213,7 +201,28 @@
</list>
</option>
</component>
<component
name=
"RunManager"
>
<component
name=
"RunManager"
selected=
"Python.auto_click_star"
>
<configuration
name=
"auto_click_star"
type=
"PythonConfigurationType"
factoryName=
"Python"
temporary=
"true"
>
<module
name=
"cybertron"
/>
<option
name=
"INTERPRETER_OPTIONS"
value=
""
/>
<option
name=
"PARENT_ENVS"
value=
"true"
/>
<envs>
<env
name=
"PYTHONUNBUFFERED"
value=
"1"
/>
</envs>
<option
name=
"SDK_HOME"
value=
""
/>
<option
name=
"WORKING_DIRECTORY"
value=
"$PROJECT_DIR$"
/>
<option
name=
"IS_MODULE_SDK"
value=
"true"
/>
<option
name=
"ADD_CONTENT_ROOTS"
value=
"true"
/>
<option
name=
"ADD_SOURCE_ROOTS"
value=
"true"
/>
<option
name=
"SCRIPT_NAME"
value=
"$PROJECT_DIR$/auto_click_star.py"
/>
<option
name=
"PARAMETERS"
value=
""
/>
<option
name=
"SHOW_COMMAND_LINE"
value=
"false"
/>
<option
name=
"EMULATE_TERMINAL"
value=
"false"
/>
<option
name=
"MODULE_MODE"
value=
"false"
/>
<option
name=
"REDIRECT_INPUT"
value=
"false"
/>
<option
name=
"INPUT_FILE"
value=
""
/>
<method
v=
"2"
/>
</configuration>
<configuration
name=
"auto_commnet"
type=
"PythonConfigurationType"
factoryName=
"Python"
>
<module
name=
"cybertron"
/>
<option
name=
"INTERPRETER_OPTIONS"
value=
""
/>
...
...
@@ -235,6 +244,15 @@
<option
name=
"INPUT_FILE"
value=
""
/>
<method
v=
"2"
/>
</configuration>
<list>
<item
itemvalue=
"Python.auto_commnet"
/>
<item
itemvalue=
"Python.auto_click_star"
/>
</list>
<recent_temporary>
<list>
<item
itemvalue=
"Python.auto_click_star"
/>
</list>
</recent_temporary>
</component>
<component
name=
"SvnConfiguration"
>
<configuration
/>
...
...
@@ -250,21 +268,21 @@
<servers
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"
78"
y=
"23"
width=
"1280"
height=
"624"
extended-state=
"0
"
/>
<frame
x=
"
140"
y=
"23"
width=
"1280"
height=
"725"
extended-state=
"1
"
/>
<editor
active=
"true"
/>
<layout>
<window_info
content_ui=
"combo"
id=
"Project"
order=
"0"
visible=
"true"
weight=
"0.15806195
"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"0"
visible=
"true"
weight=
"0.17791899
"
/>
<window_info
id=
"Structure"
order=
"1"
side_tool=
"true"
weight=
"0.25"
/>
<window_info
id=
"Favorites"
order=
"2"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Message"
order=
"0"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
weight=
"0.32921174"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"2"
weight=
"0.0"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"2"
visible=
"true"
weight=
"0.0"
/>
<window_info
anchor=
"bottom"
id=
"Debug"
order=
"3"
weight=
"0.39258114"
/>
<window_info
anchor=
"bottom"
id=
"Cvs"
order=
"4"
weight=
"0.25"
/>
<window_info
anchor=
"bottom"
id=
"Inspection"
order=
"5"
weight=
"0.4"
/>
<window_info
anchor=
"bottom"
id=
"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.0
"
/>
<window_info
a
nchor=
"bottom"
id=
"Terminal"
order=
"8"
weight=
"0.16587678
"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
order=
"9"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Python Console"
order=
"10"
/>
<window_info
anchor=
"right"
id=
"Commander"
internal_type=
"SLIDING"
order=
"0"
type=
"SLIDING"
weight=
"0.4"
/>
...
...
@@ -299,18 +317,18 @@
<breakpoints>
<line-breakpoint
enabled=
"true"
suspend=
"THREAD"
type=
"python-line"
>
<url>
file://$PROJECT_DIR$/auto_follow_majia.py
</url>
<line>
37
</line>
<line>
58
</line>
<option
name=
"timeStamp"
value=
"20"
/>
</line-breakpoint>
<line-breakpoint
enabled=
"true"
suspend=
"THREAD"
type=
"python-line"
>
<url>
file://$PROJECT_DIR$/aotu_at_once.py
</url>
<line>
83
</line>
<line>
91
</line>
<option
name=
"timeStamp"
value=
"21"
/>
</line-breakpoint>
<line-breakpoint
enabled=
"true"
suspend=
"THREAD"
type=
"python-line"
>
<url>
file://$PROJECT_DIR$/auto_
click
.py
</url>
<line>
2
2
</line>
<option
name=
"timeStamp"
value=
"2
5
"
/>
<url>
file://$PROJECT_DIR$/auto_
follow
.py
</url>
<line>
6
2
</line>
<option
name=
"timeStamp"
value=
"2
7
"
/>
</line-breakpoint>
</breakpoints>
</breakpoint-manager>
...
...
@@ -350,34 +368,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_click_star.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-750"
>
<caret
line=
"134"
column=
"18"
selection-start-line=
"134"
selection-start-column=
"18"
selection-end-line=
"134"
selection-end-column=
"18"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#552#611#0"
/>
<element
signature=
"e#646#849#0"
/>
<element
signature=
"e#880#1112#0"
/>
<element
signature=
"e#1147#1379#0"
/>
<element
signature=
"e#1412#1624#0"
/>
<marker
date=
"1543893866000"
expanded=
"true"
signature=
"3100:3101"
ph=
"..."
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_urge.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"420"
>
<caret
line=
"132"
selection-start-line=
"132"
selection-end-line=
"132"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#462#665#0"
/>
<element
signature=
"e#707#946#0"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/cuigeng"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state>
...
...
@@ -399,90 +389,130 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
auto_follow.py
"
>
<entry
file=
"file://$PROJECT_DIR$/
guanshui
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-1335"
>
<caret
line=
"68"
lean-forward=
"true"
selection-start-line=
"68"
selection-end-line=
"68"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#345#404#0"
/>
<element
signature=
"e#439#642#0"
/>
<element
signature=
"e#678#911#0"
/>
<element
signature=
"e#942#1113#0"
/>
</folding>
<state
relative-caret-position=
"339"
>
<caret
line=
"265"
column=
"14"
lean-forward=
"true"
selection-start-line=
"265"
selection-start-column=
"14"
selection-end-line=
"265"
selection-end-column=
"14"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
follow_majia
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
urge
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
480
"
>
<caret
line=
"
101"
selection-start-line=
"101"
selection-end-line=
"101
"
/>
<state
relative-caret-position=
"
283
"
>
<caret
line=
"
72"
lean-forward=
"true"
selection-start-line=
"72"
selection-end-line=
"72
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#437#640#0"
/>
<element
signature=
"e#675#908#0"
/>
<element
signature=
"e#931#1043#0"
/>
<element
signature=
"e#447#966#0"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_pick.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
-36
0"
>
<caret
line=
"
103"
column=
"26"
selection-start-line=
"103"
selection-start-column=
"26"
selection-end-line=
"103"
selection-end-column=
"26
"
/>
<state
relative-caret-position=
"
12
0"
>
<caret
line=
"
8"
column=
"61"
selection-start-line=
"8"
selection-start-column=
"61"
selection-end-line=
"8"
selection-end-column=
"61
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#266#326#0"
/>
<element
signature=
"e#363#563#0"
/>
<element
signature=
"e#373#427#0"
/>
<element
signature=
"e#346#865#0"
/>
<element
signature=
"e#604#851#0"
/>
<element
signature=
"e#614#691#0"
/>
<element
signature=
"e#883#1052#0"
/>
<element
signature=
"e#1083#1495#0"
/>
<element
signature=
"e#1533#2009#0"
/>
<element
signature=
"e#2345#2969#0"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/a
otu_at_once
.py"
>
<entry
file=
"file://$PROJECT_DIR$/a
uto_follow_majia
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
268
"
>
<caret
line=
"
83"
column=
"22"
selection-start-line=
"83"
selection-start-column=
"22"
selection-end-line=
"83"
selection-end-column=
"22
"
/>
<state
relative-caret-position=
"
301
"
>
<caret
line=
"
91"
column=
"26"
selection-start-line=
"91"
selection-start-column=
"26"
selection-end-line=
"91"
selection-end-column=
"26
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#1652#2077#0"
/>
<element
signature=
"e#343#402#0"
/>
<element
signature=
"e#422#941#0"
/>
<element
signature=
"e#675#908#0"
/>
<element
signature=
"e#931#1043#0"
/>
<element
signature=
"e#1076#1530#0"
/>
<element
signature=
"e#1865#2236#0"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
guanshui
"
>
<entry
file=
"file://$PROJECT_DIR$/
auto_click_star.py
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"339"
>
<caret
line=
"265"
column=
"14"
lean-forward=
"true"
selection-start-line=
"265"
selection-start-column=
"14"
selection-end-line=
"265"
selection-end-column=
"14"
/>
<state
relative-caret-position=
"380"
>
<caret
line=
"156"
selection-start-line=
"156"
selection-end-line=
"156"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#552#611#0"
/>
<element
signature=
"e#631#1188#0"
/>
<element
signature=
"e#880#1112#0"
/>
<element
signature=
"e#1147#1379#0"
/>
<element
signature=
"e#1412#1624#0"
/>
<element
signature=
"e#1656#1903#0"
/>
<element
signature=
"e#1934#2105#0"
/>
<element
signature=
"e#2142#2605#0"
/>
<element
signature=
"e#2641#3099#0"
/>
<element
signature=
"e#3534#4823#0"
/>
<marker
date=
"1543912788000"
expanded=
"false"
signature=
"3438:3439"
ph=
"..."
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_
click
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
follow
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
94
"
>
<caret
line=
"
20"
selection-start-line=
"20"
selection-end-line=
"20
"
/>
<state
relative-caret-position=
"
421
"
>
<caret
line=
"
146"
column=
"26"
selection-start-line=
"146"
selection-start-column=
"26"
selection-end-line=
"146"
selection-end-column=
"26
"
/>
<folding>
<element
signature=
"e#453#656#0"
/>
<element
signature=
"e#672#904#0"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#345#404#0"
/>
<element
signature=
"e#428#989#0"
/>
<element
signature=
"e#678#911#0"
/>
<element
signature=
"e#942#1113#0"
/>
<element
signature=
"e#1134#1559#0"
/>
<marker
date=
"1543905072000"
expanded=
"true"
signature=
"323:324"
ph=
"..."
/>
<marker
date=
"1543905072000"
expanded=
"false"
signature=
"323:325"
ph=
"..."
/>
<element
signature=
"e#1143#1577#0"
/>
<element
signature=
"e#1620#2831#0"
/>
<element
signature=
"e#3164#4269#0"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_click.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"43"
>
<caret
line=
"22"
column=
"12"
selection-start-line=
"22"
selection-start-column=
"12"
selection-end-line=
"22"
selection-end-column=
"12"
/>
<folding>
<element
signature=
"e#384#903#0"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_commnet.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"301"
>
<caret
line=
"112"
column=
"35"
lean-forward=
"true"
selection-start-line=
"112"
selection-start-column=
"35"
selection-end-line=
"112"
selection-end-column=
"35"
/>
<state
relative-caret-position=
"90"
>
<caret
line=
"19"
selection-start-line=
"19"
selection-end-line=
"52"
selection-end-column=
"30"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#249#309#0"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/aotu_at_once.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"173"
>
<caret
line=
"19"
column=
"12"
selection-start-line=
"19"
selection-start-column=
"12"
selection-end-line=
"19"
selection-end-column=
"12"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#403#463#0"
/>
<element
signature=
"e#736#969#0"
/>
<element
signature=
"e#1001#1233#0"
/>
<element
signature=
"e#1275#1501#0"
/>
<element
signature=
"e#1526#1621#0"
/>
<element
signature=
"e#1652#2079#0"
/>
<element
signature=
"e#2106#2359#0"
/>
</folding>
</state>
</provider>
...
...
aotu_at_once.py
View file @
322b46ac
...
...
@@ -5,12 +5,6 @@ import pymysql
import
random
import
pandas
as
pd
cookies
=
{
"sessionid"
:
'1'
,
}
auto_click_url
=
"http://earth.igengmei.com/api/v1/like"
auto_click_url
=
"http://earth.igengmei.com/api/v1/reply/create"
auto_follow_url
=
"http://earth.igengmei.com/api/v1/follow"
...
...
@@ -23,20 +17,38 @@ def index_first():
return
r1
.
cookies
.
get_dict
()
def
login
():
num_majia
=
random
.
randint
(
1
,
300
)
cookies
=
index_first
()
# user_id=majia[num]
def
login
(
cookies
,
user
,
pwd
):
user
=
's_PzFznI@shadow.com'
pwd
=
'123456'
post_dict
=
{
'account_type'
:
user
,
'pwd'
:
pwd
'account_type'
:
2
,
'pwd'
:
pwd
,
'email'
:
user
}
response
=
requests
.
post
(
response
=
requests
.
post
(
url
=
login_url
,
data
=
post_dict
,
cookies
=
cookies
)
print
(
response
.
text
,
'url'
)
headers
=
response
.
headers
cook
=
headers
[
'Set-Cookie'
]
.
split
(
";"
)
cook
=
cook
[
0
]
.
split
(
'='
)[
1
]
print
(
response
.
text
,
'url'
)
return
{
'sessionid'
:
cook
}
def
follow
(
cookies_get
,
id
):
post_dict
=
{
...
...
@@ -49,7 +61,6 @@ def follow(cookies_get, id):
print
(
response
.
text
,
'url'
)
def
dz
(
cookies_get
,
id
):
post_dict
=
{
'type'
:
1
,
...
...
@@ -61,7 +72,6 @@ def dz(cookies_get, id):
print
(
response
.
text
,
'url'
)
def
reply
(
cookies_get
,
id
,
content
):
post_dict
=
{
'topic_id'
:
id
,
...
...
@@ -73,14 +83,12 @@ def reply(cookies_get,id,content):
print
(
response
.
text
,
'url'
)
def
time_conv
():
now
=
datetime
.
datetime
.
now
()
yes_time_str
=
now
.
strftime
(
'
%
Y-
%
m-
%
d'
)
return
yes_time_str
def
get_data
(
numtime
):
db
=
pymysql
.
connect
(
host
=
"rm-2ze5k2we69904787l.mysql.rds.aliyuncs.com"
,
user
=
'work'
,
passwd
=
'Gengmei123'
,
...
...
@@ -96,7 +104,6 @@ def get_data(numtime):
db
.
close
()
return
user_id
def
get_comment
():
data
=
pd
.
read_csv
(
"guanshui"
,
sep
=
'
\n
'
)
...
...
@@ -110,7 +117,6 @@ def get_comment():
return
comment
if
__name__
==
"__main__"
:
numtime
=
time_conv
()
...
...
@@ -125,22 +131,20 @@ if __name__ == "__main__":
if
num
==
0
:
# user_id=majia[num]
cookies
=
index_first
()
login
(
cookies
,
user
=
cookies
,
pwd
=
''
)
cookies
=
login
()
comment
=
get_comment
()
reply
(
cookies
,
id
,
comment
)
if
num
==
1
:
# user_id=majia[num]
cookies
=
index_first
()
login
(
cookies
,
user
=
cookies
,
pwd
=
''
)
cookies
=
login
()
dz
(
cookies
,
id
)
comment
=
get_comment
()
reply
(
cookies
,
id
,
comment
)
...
...
auto_click.py
View file @
322b46ac
...
...
@@ -4,11 +4,6 @@ import datetime
import
pymysql
import
random
# cookies = {
# "sessionid": '1',
# }
s
=
requests
.
session
()
s
.
keep_alive
=
False
...
...
@@ -19,14 +14,23 @@ auto_click_url = "http://earth.igengmei.com/api/v1/like"
login_url
=
"http://earth.igengmei.com/api/account/login_pwd"
def
index_first
():
r1
=
requests
.
get
(
login_url
)
return
r1
.
cookies
.
get_dict
()
def
login
(
cookies
,
user
,
pwd
):
def
login
():
num_majia
=
random
.
randint
(
1
,
300
)
# user_id=majia[num_majia]
user
=
's_PzFznI@shadow.com'
pwd
=
'123456'
cookies
=
index_first
()
post_dict
=
{
'account_type'
:
2
,
...
...
@@ -38,8 +42,17 @@ def login(cookies,user,pwd):
data
=
post_dict
,
cookies
=
cookies
)
headers
=
response
.
headers
cook
=
headers
[
'Set-Cookie'
]
.
split
(
";"
)
cook
=
cook
[
0
]
.
split
(
'='
)[
1
]
print
(
response
.
text
,
'url'
)
return
{
'sessionid'
:
cook
}
def
dz
(
cookies_get
,
id
):
post_dict
=
{
'type'
:
1
,
...
...
@@ -51,6 +64,11 @@ def dz(cookies_get, id):
print
(
response
.
text
,
'url'
)
text
=
response
.
text
if
text
[
0
][
'error'
]
==
1
and
text
[
0
][
'message'
]
==
'
\\
u5e16
\\
u5b50
\\
u5df2
\\
u4e0b
\\
u7ebf'
:
print
(
"该产品已下线"
)
def
time_conv
(
numtime
):
now
=
datetime
.
datetime
.
now
()
...
...
@@ -94,17 +112,7 @@ if __name__ == "__main__":
if
num_cishu
==
1
:
num_majia
=
random
.
randint
(
1
,
300
)
#user_id=majia[num_majia]
user
=
's_PzFznI@shadow.com'
pwd
=
'123456'
cookies
=
index_first
()
login
(
cookies
,
user
=
user
,
pwd
=
pwd
)
cookies
=
login
()
dz
(
cookies
,
id
)
...
...
auto_click_star.py
View file @
322b46ac
...
...
@@ -26,24 +26,45 @@ auto_urge_url = "http://earth.igengmei.com/api/v1/user/urge"
auto_click_url
=
"http://earth.igengmei.com/api/v1/pick/do_pick"
def
index_first
():
r1
=
requests
.
get
(
login_url
)
return
r1
.
cookies
.
get_dict
()
def
login
(
cookies
,
user
,
pwd
):
def
login
():
# time.sleep(random.randint(300, 700))
num_majia
=
random
.
randint
(
1
,
300
)
cookies
=
index_first
()
# user_id=majia[num]
user
=
's_PzFznI@shadow.com'
pwd
=
'123456'
post_dict
=
{
'account_type'
:
user
,
'pwd'
:
pwd
'account_type'
:
2
,
'pwd'
:
pwd
,
'email'
:
user
}
response
=
requests
.
post
(
url
=
login_url
,
data
=
post_dict
,
cookies
=
cookies
)
headers
=
response
.
headers
cook
=
headers
[
'Set-Cookie'
]
.
split
(
";"
)
cook
=
cook
[
0
]
.
split
(
'='
)[
1
]
print
(
response
.
text
,
'url'
)
return
{
'sessionid'
:
cook
}
def
dz
(
cookies_get
,
id
):
post_dict
=
{
'type'
:
1
,
...
...
@@ -134,6 +155,7 @@ def get_star_tieid(numtime):
return
user_id
if
__name__
==
"__main__"
:
time_list
=
[
1
,
3
,
7
,
10
]
...
...
@@ -152,13 +174,7 @@ if __name__ == "__main__":
for
j
in
range
(
num_cishu
):
time
.
sleep
(
random
.
randint
(
300
,
400
))
num_tieid
=
random
.
randint
(
1
,
300
)
# cookies = index_first()
# login(cookies,user=cookies,pwd='')
cookies
=
login
()
dz
(
cookies
,
id
)
...
...
@@ -172,13 +188,7 @@ if __name__ == "__main__":
for
j
in
range
(
num_cishu
):
time
.
sleep
(
random
.
randint
(
300
,
400
))
num_tieid
=
random
.
randint
(
1
,
300
)
# cookies = index_first()
# login(cookies,user=cookies,pwd='')
cookies
=
login
()
dz
(
cookies
,
id
)
...
...
@@ -192,13 +202,7 @@ if __name__ == "__main__":
for
j
in
range
(
num_cishu
):
time
.
sleep
(
random
.
randint
(
300
,
400
))
num_userid
=
random
.
randint
(
1
,
300
)
# cookies = index_first()
# login(cookies,user=cookies,pwd='')
cookies
=
login
()
follow
(
cookies
,
id
)
...
...
auto_commnet.py
View file @
322b46ac
...
...
@@ -17,8 +17,19 @@ def index_first():
return
r1
.
cookies
.
get_dict
()
def
login
():
def
login
(
cookies
,
user
,
pwd
):
# time.sleep(random.randint(300, 700))
num_majia
=
random
.
randint
(
1
,
300
)
cookies
=
index_first
()
# user_id=majia[num]
user
=
's_PzFznI@shadow.com'
pwd
=
'123456'
post_dict
=
{
'account_type'
:
2
,
...
...
@@ -39,8 +50,7 @@ def login(cookies,user,pwd):
print
(
response
.
text
,
'url'
)
return
cook
return
{
'sessionid'
:
cook
}
def
reply
(
cookies_get
,
id
,
content
):
post_dict
=
{
...
...
@@ -51,8 +61,13 @@ def reply(cookies_get,id,content):
cookies
=
cookies_get
,
data
=
post_dict
)
print
(
response
.
text
,
'url'
)
text
=
response
.
text
if
text
[
0
][
'error'
]
==
1
and
text
[
0
][
'message'
]
==
'
\\
u5e16
\\
u5b50
\\
u5df2
\\
u4e0b
\\
u7ebf'
:
print
(
"该产品已下线"
)
print
(
response
.
text
,
'url'
)
def
time_conv
(
numtime
):
...
...
@@ -61,7 +76,6 @@ def time_conv(numtime):
yes_time_str
=
yes_time
.
strftime
(
'
%
Y-
%
m-
%
d'
)
return
yes_time_str
def
get_data
(
numtime
):
db
=
pymysql
.
connect
(
host
=
"rm-2ze5k2we69904787l.mysql.rds.aliyuncs.com"
,
user
=
'work'
,
passwd
=
'Gengmei123'
,
db
=
"alpha"
,
port
=
3306
)
...
...
@@ -70,11 +84,12 @@ def get_data(numtime):
cursor
.
execute
(
"SELECT id FROM topic WHERE create_time LIKE '
%%%%%
s
%%%%
' "
%
numtime
)
data
=
cursor
.
fetchall
()
user_id
=
list
(
data
)
print
(
"Database version :
%
s "
%
user_id
)
db
.
close
()
return
user_id
return
user_id
def
get_comment
():
...
...
@@ -89,7 +104,6 @@ def get_comment():
return
comment
if
__name__
==
"__main__"
:
time_list
=
[
1
,
3
,
5
,
7
]
...
...
@@ -106,15 +120,7 @@ if __name__ == "__main__":
id
=
int
(
j
[
0
])
time
.
sleep
(
random
.
randint
(
300
,
700
))
num_majia
=
random
.
randint
(
1
,
300
)
#user_id=majia[num]
cookies
=
index_first
()
cookies
=
login
(
cookies
,
user
=
cookies
,
pwd
=
''
)
cookies
=
login
()
comment
=
get_comment
()
...
...
auto_follow.py
View file @
322b46ac
...
...
@@ -24,18 +24,40 @@ def index_first():
r1
=
requests
.
get
(
login_url
)
return
r1
.
cookies
.
get_dict
()
def
login
(
cookies
,
user
,
pwd
):
def
login
():
time
.
sleep
(
random
.
randint
(
300
,
500
))
num_majia
=
random
.
randint
(
1
,
300
)
# user_id=majia[num_majia]
user
=
's_PzFznI@shadow.com'
pwd
=
'123456'
cookies
=
index_first
()
post_dict
=
{
'account_type'
:
user
,
'pwd'
:
pwd
'account_type'
:
2
,
'pwd'
:
pwd
,
'email'
:
user
}
response
=
requests
.
post
(
url
=
login_url
,
data
=
post_dict
,
cookies
=
cookies
)
headers
=
response
.
headers
cook
=
headers
[
'Set-Cookie'
]
.
split
(
";"
)
cook
=
cook
[
0
]
.
split
(
'='
)[
1
]
print
(
response
.
text
,
'url'
)
return
{
'sessionid'
:
cook
}
def
follow
(
cookies_get
,
id
):
post_dict
=
{
...
...
@@ -48,7 +70,6 @@ def follow(cookies_get, id):
print
(
response
.
text
,
'url'
)
def
time_conv
(
numtime
):
now
=
datetime
.
datetime
.
now
()
yes_time
=
now
-
datetime
.
timedelta
(
days
=
numtime
)
...
...
@@ -56,7 +77,6 @@ def time_conv(numtime):
print
(
now
)
return
yes_time_str
def
get_data
(
numtime
):
db
=
pymysql
.
connect
(
host
=
"rm-2ze5k2we69904787l.mysql.rds.aliyuncs.com"
,
user
=
'work'
,
passwd
=
'Gengmei123'
,
db
=
"alpha"
,
port
=
3306
)
...
...
@@ -144,15 +164,7 @@ if __name__ == "__main__":
for
i
in
range
(
num_cishu
):
time
.
sleep
(
random
.
randint
(
300
,
500
))
num_majia
=
random
.
randint
(
300
)
# user_id=majia[num]
# cookies = index_first()
# login(cookies,user=cookies,pwd='')
cookies
=
login
()
follow
(
cookies
,
id
)
...
...
@@ -172,15 +184,7 @@ if __name__ == "__main__":
for
i
in
range
(
num_cishu
):
time
.
sleep
(
random
.
randint
(
300
,
500
))
num_majia
=
random
.
randint
(
300
)
#user_id=majia[num]
# cookies = index_first()
# login(cookies,user=cookies,pwd='')
cookies
=
login
()
follow
(
cookies
,
id
)
...
...
auto_follow_majia.py
View file @
322b46ac
...
...
@@ -22,18 +22,39 @@ def index_first():
r1
=
requests
.
get
(
login_url
)
return
r1
.
cookies
.
get_dict
()
def
login
(
cookies
,
user
,
pwd
):
def
login
():
num_majia
=
random
.
randint
(
1
,
300
)
# user_id=majia[num_majia]
user
=
's_PzFznI@shadow.com'
pwd
=
'123456'
cookies
=
index_first
()
post_dict
=
{
'account_type'
:
user
,
'pwd'
:
pwd
'account_type'
:
2
,
'pwd'
:
pwd
,
'email'
:
user
}
response
=
requests
.
post
(
url
=
login_url
,
data
=
post_dict
,
cookies
=
cookies
)
headers
=
response
.
headers
cook
=
headers
[
'Set-Cookie'
]
.
split
(
";"
)
cook
=
cook
[
0
]
.
split
(
'='
)[
1
]
print
(
response
.
text
,
'url'
)
return
{
'sessionid'
:
cook
}
def
follow
(
cookies_get
,
id
):
post_dict
=
{
'type'
:
1
,
...
...
@@ -87,11 +108,7 @@ if __name__ == "__main__":
for
key
,
value
in
dict
.
items
():
#user_id=majia[key]
# cookies = index_first()
# login(cookies,user=user_id,pwd='')
cookies
=
login
()
for
id
in
value
:
...
...
auto_pick.py
View file @
322b46ac
...
...
@@ -4,36 +4,48 @@ import datetime
import
pymysql
import
random
cookies
=
{
"sessionid"
:
'1'
,
}
auto_click_url
=
"http://earth.igengmei.com/api/v1/pick/do_pick"
login_url
=
"http://earth.igengmei.com/api/account/login_pwd"
def
index_first
():
r1
=
requests
.
get
(
login_url
)
return
r1
.
cookies
.
get_dict
()
def
login
():
num_majia
=
random
.
randint
(
1
,
300
)
# user_id=majia[num_majia]
def
login
(
cookies
,
user
,
pwd
):
user
=
's_PzFznI@shadow.com'
pwd
=
'123456'
cookies
=
index_first
()
post_dict
=
{
'account_type'
:
user
,
'pwd'
:
pwd
'account_type'
:
2
,
'pwd'
:
pwd
,
'email'
:
user
}
response
=
requests
.
post
(
response
=
requests
.
post
(
url
=
login_url
,
data
=
post_dict
,
cookies
=
cookies
)
print
(
response
.
text
,
'url'
)
headers
=
response
.
headers
cook
=
headers
[
'Set-Cookie'
]
.
split
(
";"
)
cook
=
cook
[
0
]
.
split
(
'='
)[
1
]
print
(
response
.
text
,
'url'
)
return
{
'sessionid'
:
cook
}
def
pick
(
cookies_get
,
id
,
content
):
post_dict
=
{
...
...
@@ -119,15 +131,7 @@ if __name__ == "__main__":
for
i
in
range
(
num_cishu
):
time
.
sleep
(
random
.
randint
(
300
,
500
))
num_userid
=
random
.
randint
(
300
)
#user_id=majia[num]
# cookies = index_first()
# login(cookies,user=cookies,pwd='')
cookies
=
login
()
pick
(
cookies
,
id
)
...
...
@@ -144,15 +148,7 @@ if __name__ == "__main__":
if
i
==
j
:
# time.sleep(random.randint(300, 500))
num_userid
=
random
.
randint
(
300
)
# user_id=majia[num]
# cookies = index_first()
# login(cookies,user=cookies,pwd='')
cookies
=
login
(
cookies
,
user
=
cookies
,
pwd
=
''
)
pick
(
cookies
,
id
)
...
...
auto_urge.py
View file @
322b46ac
...
...
@@ -27,18 +27,38 @@ def index_first():
return
r1
.
cookies
.
get_dict
()
def
login
(
cookies
,
user
,
pwd
):
def
login
():
num_majia
=
random
.
randint
(
1
,
300
)
# user_id=majia[num_majia]
user
=
's_PzFznI@shadow.com'
pwd
=
'123456'
cookies
=
index_first
()
post_dict
=
{
'account_type'
:
user
,
'pwd'
:
pwd
'account_type'
:
2
,
'pwd'
:
pwd
,
'email'
:
user
}
response
=
requests
.
post
(
url
=
login_url
,
data
=
post_dict
,
cookies
=
cookies
)
headers
=
response
.
headers
cook
=
headers
[
'Set-Cookie'
]
.
split
(
";"
)
cook
=
cook
[
0
]
.
split
(
'='
)[
1
]
print
(
response
.
text
,
'url'
)
return
{
'sessionid'
:
cook
}
def
Urge
(
cookies_get
,
id
,
comment
):
post_dict
=
{
...
...
@@ -51,7 +71,6 @@ def Urge(cookies_get, id,comment):
print
(
response
.
text
,
'url'
)
def
time_conv
(
numtime
):
now
=
datetime
.
datetime
.
now
()
yes_time
=
now
-
datetime
.
timedelta
(
days
=
numtime
)
...
...
@@ -59,7 +78,6 @@ def time_conv(numtime):
print
(
now
)
return
yes_time_str
def
get_data
(
numtime
):
db
=
pymysql
.
connect
(
host
=
"rm-2ze5k2we69904787l.mysql.rds.aliyuncs.com"
,
user
=
'work'
,
passwd
=
'Gengmei123'
,
...
...
@@ -72,7 +90,6 @@ def get_data(numtime):
user_id
=
list
(
data
)
print
(
"Database version :
%
s "
%
user_id
)
db
.
close
()
...
...
@@ -104,13 +121,7 @@ if __name__ == "__main__":
elif
num_cishu
==
1
:
num_majia
=
random
.
randint
(
1
,
300
)
#user_id=majia[num]
# cookies = index_first()
# login(cookies,user=cookies,pwd='')
login
()
Urge
(
cookies
,
id
)
...
...
@@ -118,13 +129,7 @@ if __name__ == "__main__":
for
i
in
range
(
num_cishu
):
num_majia
=
random
.
randint
(
0
,
300
)
#user_id=majia[num]
# cookies = index_first()
# login(cookies,user=cookies,pwd='')
cookies
=
login
()
Urge
(
cookies
,
id
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment