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
cf4adee0
Commit
cf4adee0
authored
Dec 04, 2018
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hh
parent
322b46ac
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
62 additions
and
57 deletions
+62
-57
workspace.xml
.idea/workspace.xml
+44
-40
aotu_at_once.py
aotu_at_once.py
+1
-1
auto_commnet.py
auto_commnet.py
+17
-16
No files found.
.idea/workspace.xml
View file @
cf4adee0
...
@@ -3,13 +3,7 @@
...
@@ -3,13 +3,7 @@
<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$/aotu_at_once.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/aotu_at_once.py"
afterDir=
"false"
/>
<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_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>
</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"
/>
...
@@ -70,7 +64,7 @@
...
@@ -70,7 +64,7 @@
<entry
key=
"cuigeng"
value=
"3"
/>
<entry
key=
"cuigeng"
value=
"3"
/>
<entry
key=
"data"
value=
"1"
/>
<entry
key=
"data"
value=
"1"
/>
<entry
key=
"guanshui"
value=
"3"
/>
<entry
key=
"guanshui"
value=
"3"
/>
<entry
key=
"py"
value=
"7
2
"
/>
<entry
key=
"py"
value=
"7
3
"
/>
<entry
key=
"xuqiu"
value=
"3"
/>
<entry
key=
"xuqiu"
value=
"3"
/>
</counts>
</counts>
</usages-collector>
</usages-collector>
...
@@ -78,7 +72,7 @@
...
@@ -78,7 +72,7 @@
<counts>
<counts>
<entry
key=
"CSV"
value=
"1"
/>
<entry
key=
"CSV"
value=
"1"
/>
<entry
key=
"PLAIN_TEXT"
value=
"27"
/>
<entry
key=
"PLAIN_TEXT"
value=
"27"
/>
<entry
key=
"Python"
value=
"7
2
"
/>
<entry
key=
"Python"
value=
"7
3
"
/>
</counts>
</counts>
</usages-collector>
</usages-collector>
<usages-collector
id=
"statistics.file.extensions.edit"
>
<usages-collector
id=
"statistics.file.extensions.edit"
>
...
@@ -87,7 +81,7 @@
...
@@ -87,7 +81,7 @@
<entry
key=
"comment"
value=
"16"
/>
<entry
key=
"comment"
value=
"16"
/>
<entry
key=
"cuigeng"
value=
"1"
/>
<entry
key=
"cuigeng"
value=
"1"
/>
<entry
key=
"data"
value=
"12"
/>
<entry
key=
"data"
value=
"12"
/>
<entry
key=
"py"
value=
"31
3
1"
/>
<entry
key=
"py"
value=
"31
4
1"
/>
<entry
key=
"unr_data"
value=
"1"
/>
<entry
key=
"unr_data"
value=
"1"
/>
<entry
key=
"xuqiu"
value=
"1"
/>
<entry
key=
"xuqiu"
value=
"1"
/>
</counts>
</counts>
...
@@ -95,27 +89,41 @@
...
@@ -95,27 +89,41 @@
<usages-collector
id=
"statistics.file.types.edit"
>
<usages-collector
id=
"statistics.file.types.edit"
>
<counts>
<counts>
<entry
key=
"PLAIN_TEXT"
value=
"35"
/>
<entry
key=
"PLAIN_TEXT"
value=
"35"
/>
<entry
key=
"Python"
value=
"31
3
1"
/>
<entry
key=
"Python"
value=
"31
4
1"
/>
</counts>
</counts>
</usages-collector>
</usages-collector>
</session>
</session>
</component>
</component>
<component
name=
"FileEditorManager"
>
<component
name=
"FileEditorManager"
>
<leaf>
<leaf>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/aotu_at_once.py"
>
<entry
file=
"file://$PROJECT_DIR$/aotu_at_once.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
173
"
>
<state
relative-caret-position=
"
376
"
>
<caret
line=
"1
9"
column=
"12"
selection-start-line=
"19"
selection-start-column=
"12"
selection-end-line=
"19"
selection-end-column=
"12
"
/>
<caret
line=
"1
15"
column=
"33"
selection-start-line=
"115"
selection-start-column=
"33"
selection-end-line=
"115"
selection-end-column=
"33
"
/>
<folding>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#403#463#0"
/>
<element
signature=
"e#403#463#0"
/>
<element
signature=
"e#446#959#0"
/>
<element
signature=
"e#736#969#0"
/>
<element
signature=
"e#736#969#0"
/>
<element
signature=
"e#1001#1233#0"
/>
<element
signature=
"e#1001#1233#0"
/>
<element
signature=
"e#1275#1501#0"
/>
<element
signature=
"e#1275#1501#0"
/>
<element
signature=
"e#1526#1621#0"
/>
<element
signature=
"e#1526#1621#0"
/>
<element
signature=
"e#1652#2079#0"
/>
<element
signature=
"e#1652#2079#0"
/>
<element
signature=
"e#2106#2359#0"
/>
<element
signature=
"e#2727#3295#0"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/auto_commnet.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"394"
>
<caret
line=
"55"
column=
"34"
lean-forward=
"true"
selection-start-line=
"55"
selection-start-column=
"34"
selection-end-line=
"55"
selection-end-column=
"34"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#249#309#0"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
...
@@ -148,15 +156,15 @@
...
@@ -148,15 +156,15 @@
<option
value=
"$PROJECT_DIR$/auto_pick.py"
/>
<option
value=
"$PROJECT_DIR$/auto_pick.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow_majia.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow_majia.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow.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$/auto_click_star.py"
/>
<option
value=
"$PROJECT_DIR$/aotu_at_once.py"
/>
<option
value=
"$PROJECT_DIR$/aotu_at_once.py"
/>
<option
value=
"$PROJECT_DIR$/auto_commnet.py"
/>
</list>
</list>
</option>
</option>
</component>
</component>
<component
name=
"ProjectFrameBounds"
extendedState=
"1"
>
<component
name=
"ProjectFrameBounds"
>
<option
name=
"x"
value=
"1
40
"
/>
<option
name=
"x"
value=
"1
76
"
/>
<option
name=
"y"
value=
"
2
3"
/>
<option
name=
"y"
value=
"
5
3"
/>
<option
name=
"width"
value=
"1280"
/>
<option
name=
"width"
value=
"1280"
/>
<option
name=
"height"
value=
"725"
/>
<option
name=
"height"
value=
"725"
/>
</component>
</component>
...
@@ -268,7 +276,7 @@
...
@@ -268,7 +276,7 @@
<servers
/>
<servers
/>
</component>
</component>
<component
name=
"ToolWindowManager"
>
<component
name=
"ToolWindowManager"
>
<frame
x=
"1
40"
y=
"23"
width=
"1280"
height=
"725"
extended-state=
"1
"
/>
<frame
x=
"1
76"
y=
"53"
width=
"1280"
height=
"725"
extended-state=
"0
"
/>
<editor
active=
"true"
/>
<editor
active=
"true"
/>
<layout>
<layout>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"0"
visible=
"true"
weight=
"0.17791899"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"0"
visible=
"true"
weight=
"0.17791899"
/>
...
@@ -276,13 +284,13 @@
...
@@ -276,13 +284,13 @@
<window_info
id=
"Favorites"
order=
"2"
side_tool=
"true"
/>
<window_info
id=
"Favorites"
order=
"2"
side_tool=
"true"
/>
<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.32921174"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
weight=
"0.32921174"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"2"
visible=
"true"
weight=
"0.0"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"2"
weight=
"0.0"
/>
<window_info
anchor=
"bottom"
id=
"Debug"
order=
"3"
weight=
"0.39258114"
/>
<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=
"Cvs"
order=
"4"
weight=
"0.25"
/>
<window_info
anchor=
"bottom"
id=
"Inspection"
order=
"5"
weight=
"0.4"
/>
<window_info
anchor=
"bottom"
id=
"Inspection"
order=
"5"
weight=
"0.4"
/>
<window_info
anchor=
"bottom"
id=
"TODO"
order=
"6"
/>
<window_info
anchor=
"bottom"
id=
"TODO"
order=
"6"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"7"
show_stripe_button=
"false"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"7"
show_stripe_button=
"false"
/>
<window_info
anchor=
"bottom"
id=
"Terminal"
order=
"8"
weight=
"0.16587678
"
/>
<window_info
anchor=
"bottom"
id=
"Terminal"
order=
"8"
visible=
"true"
weight=
"0.0
"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
order=
"9"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
order=
"9"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Python Console"
order=
"10"
/>
<window_info
anchor=
"bottom"
id=
"Python Console"
order=
"10"
/>
<window_info
anchor=
"right"
id=
"Commander"
internal_type=
"SLIDING"
order=
"0"
type=
"SLIDING"
weight=
"0.4"
/>
<window_info
anchor=
"right"
id=
"Commander"
internal_type=
"SLIDING"
order=
"0"
type=
"SLIDING"
weight=
"0.4"
/>
...
@@ -320,11 +328,6 @@
...
@@ -320,11 +328,6 @@
<line>
58
</line>
<line>
58
</line>
<option
name=
"timeStamp"
value=
"20"
/>
<option
name=
"timeStamp"
value=
"20"
/>
</line-breakpoint>
</line-breakpoint>
<line-breakpoint
enabled=
"true"
suspend=
"THREAD"
type=
"python-line"
>
<url>
file://$PROJECT_DIR$/aotu_at_once.py
</url>
<line>
91
</line>
<option
name=
"timeStamp"
value=
"21"
/>
</line-breakpoint>
<line-breakpoint
enabled=
"true"
suspend=
"THREAD"
type=
"python-line"
>
<line-breakpoint
enabled=
"true"
suspend=
"THREAD"
type=
"python-line"
>
<url>
file://$PROJECT_DIR$/auto_follow.py
</url>
<url>
file://$PROJECT_DIR$/auto_follow.py
</url>
<line>
62
</line>
<line>
62
</line>
...
@@ -489,30 +492,31 @@
...
@@ -489,30 +492,31 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_commnet.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<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"
>
<entry
file=
"file://$PROJECT_DIR$/aotu_at_once.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
173
"
>
<state
relative-caret-position=
"
376
"
>
<caret
line=
"1
9"
column=
"12"
selection-start-line=
"19"
selection-start-column=
"12"
selection-end-line=
"19"
selection-end-column=
"12
"
/>
<caret
line=
"1
15"
column=
"33"
selection-start-line=
"115"
selection-start-column=
"33"
selection-end-line=
"115"
selection-end-column=
"33
"
/>
<folding>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#403#463#0"
/>
<element
signature=
"e#403#463#0"
/>
<element
signature=
"e#446#959#0"
/>
<element
signature=
"e#736#969#0"
/>
<element
signature=
"e#736#969#0"
/>
<element
signature=
"e#1001#1233#0"
/>
<element
signature=
"e#1001#1233#0"
/>
<element
signature=
"e#1275#1501#0"
/>
<element
signature=
"e#1275#1501#0"
/>
<element
signature=
"e#1526#1621#0"
/>
<element
signature=
"e#1526#1621#0"
/>
<element
signature=
"e#1652#2079#0"
/>
<element
signature=
"e#1652#2079#0"
/>
<element
signature=
"e#2106#2359#0"
/>
<element
signature=
"e#2727#3295#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=
"394"
>
<caret
line=
"55"
column=
"34"
lean-forward=
"true"
selection-start-line=
"55"
selection-start-column=
"34"
selection-end-line=
"55"
selection-end-column=
"34"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#249#309#0"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
...
...
aotu_at_once.py
View file @
cf4adee0
...
@@ -113,7 +113,7 @@ def get_comment():
...
@@ -113,7 +113,7 @@ def get_comment():
l
=
i
.
split
(
'
\t
'
)
l
=
i
.
split
(
'
\t
'
)
list_guanshui
.
append
(
l
[
0
])
list_guanshui
.
append
(
l
[
0
])
comment
=
list_guanshui
[
num
]
comment
=
list_guanshui
[
num
-
1
]
return
comment
return
comment
...
...
auto_commnet.py
View file @
cf4adee0
...
@@ -17,21 +17,10 @@ def index_first():
...
@@ -17,21 +17,10 @@ def index_first():
return
r1
.
cookies
.
get_dict
()
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
=
{
post_dict
=
{
'account_type'
:
2
,
'account_type'
:
2
,
'pwd'
:
pwd
,
'pwd'
:
pwd
,
'email'
:
user
'email'
:
user
...
@@ -57,7 +46,7 @@ def reply(cookies_get,id,content):
...
@@ -57,7 +46,7 @@ def reply(cookies_get,id,content):
'topic_id'
:
id
,
'topic_id'
:
id
,
'content'
:
content
'content'
:
content
}
}
response
=
requests
.
ge
t
(
url
=
auto_click_url
,
response
=
requests
.
pos
t
(
url
=
auto_click_url
,
cookies
=
cookies_get
,
cookies
=
cookies_get
,
data
=
post_dict
)
data
=
post_dict
)
...
@@ -100,7 +89,7 @@ def get_comment():
...
@@ -100,7 +89,7 @@ def get_comment():
l
=
i
.
split
(
'
\t
'
)
l
=
i
.
split
(
'
\t
'
)
list_guanshui
.
append
(
l
[
0
])
list_guanshui
.
append
(
l
[
0
])
comment
=
list_guanshui
[
num
]
comment
=
list_guanshui
[
num
-
1
]
return
comment
return
comment
...
@@ -120,7 +109,19 @@ if __name__ == "__main__":
...
@@ -120,7 +109,19 @@ if __name__ == "__main__":
id
=
int
(
j
[
0
])
id
=
int
(
j
[
0
])
cookies
=
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'
cookies
=
login
(
cookies
,
user
,
pwd
)
comment
=
get_comment
()
comment
=
get_comment
()
...
...
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