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
bdb455f9
Commit
bdb455f9
authored
Apr 19, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
aa9e737d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
17 deletions
+13
-17
workspace.xml
.idea/workspace.xml
+9
-10
instant.py
instant.py
+4
-7
No files found.
.idea/workspace.xml
View file @
bdb455f9
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
<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$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/instant.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/instant.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/instant.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/instant.py"
afterDir=
"false"
/>
</list>
</list>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
...
@@ -43,14 +42,14 @@
...
@@ -43,14 +42,14 @@
<entry
key=
"comment"
value=
"59"
/>
<entry
key=
"comment"
value=
"59"
/>
<entry
key=
"dummy"
value=
"6"
/>
<entry
key=
"dummy"
value=
"6"
/>
<entry
key=
"guanshui"
value=
"2"
/>
<entry
key=
"guanshui"
value=
"2"
/>
<entry
key=
"py"
value=
"317
2
"
/>
<entry
key=
"py"
value=
"317
9
"
/>
<entry
key=
"xuqiu"
value=
"223"
/>
<entry
key=
"xuqiu"
value=
"223"
/>
</counts>
</counts>
</usages-collector>
</usages-collector>
<usages-collector
id=
"statistics.file.types.edit"
>
<usages-collector
id=
"statistics.file.types.edit"
>
<counts>
<counts>
<entry
key=
"PLAIN_TEXT"
value=
"290"
/>
<entry
key=
"PLAIN_TEXT"
value=
"290"
/>
<entry
key=
"Python"
value=
"317
2
"
/>
<entry
key=
"Python"
value=
"317
9
"
/>
</counts>
</counts>
</usages-collector>
</usages-collector>
</session>
</session>
...
@@ -133,8 +132,8 @@
...
@@ -133,8 +132,8 @@
<file
pinned=
"false"
current-in-tab=
"true"
>
<file
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/instant.py"
>
<entry
file=
"file://$PROJECT_DIR$/instant.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"5
61
"
>
<state
relative-caret-position=
"5
85
"
>
<caret
line=
"
42"
column=
"16"
selection-start-line=
"42"
selection-start-column=
"16"
selection-end-line=
"42"
selection-end-column=
"1
6"
/>
<caret
line=
"
39"
column=
"36"
selection-start-line=
"39"
selection-start-column=
"36"
selection-end-line=
"39"
selection-end-column=
"3
6"
/>
<folding>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</folding>
...
@@ -186,7 +185,7 @@
...
@@ -186,7 +185,7 @@
<file
pinned=
"false"
current-in-tab=
"false"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<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=
"2
57
"
>
<state
relative-caret-position=
"2
48
"
>
<caret
line=
"95"
column=
"4"
selection-start-line=
"95"
selection-start-column=
"4"
selection-end-line=
"95"
selection-end-column=
"4"
/>
<caret
line=
"95"
column=
"4"
selection-start-line=
"95"
selection-start-column=
"4"
selection-end-line=
"95"
selection-end-column=
"4"
/>
<folding>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
...
@@ -517,7 +516,7 @@
...
@@ -517,7 +516,7 @@
<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
active=
"true"
anchor=
"bottom"
id=
"Terminal"
order=
"8"
visible=
"true"
weight=
"0.1
7512953
"
/>
<window_info
active=
"true"
anchor=
"bottom"
id=
"Terminal"
order=
"8"
visible=
"true"
weight=
"0.1
0569948
"
/>
<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=
"bottom"
id=
"DB Execution Console"
order=
"11"
/>
<window_info
anchor=
"bottom"
id=
"DB Execution Console"
order=
"11"
/>
...
@@ -926,7 +925,7 @@
...
@@ -926,7 +925,7 @@
</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=
"2
57
"
>
<state
relative-caret-position=
"2
48
"
>
<caret
line=
"95"
column=
"4"
selection-start-line=
"95"
selection-start-column=
"4"
selection-end-line=
"95"
selection-end-column=
"4"
/>
<caret
line=
"95"
column=
"4"
selection-start-line=
"95"
selection-start-column=
"4"
selection-end-line=
"95"
selection-end-column=
"4"
/>
<folding>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
...
@@ -936,8 +935,8 @@
...
@@ -936,8 +935,8 @@
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/instant.py"
>
<entry
file=
"file://$PROJECT_DIR$/instant.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"5
61
"
>
<state
relative-caret-position=
"5
85
"
>
<caret
line=
"
42"
column=
"16"
selection-start-line=
"42"
selection-start-column=
"16"
selection-end-line=
"42"
selection-end-column=
"1
6"
/>
<caret
line=
"
39"
column=
"36"
selection-start-line=
"39"
selection-start-column=
"36"
selection-end-line=
"39"
selection-end-column=
"3
6"
/>
<folding>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</folding>
...
...
instant.py
View file @
bdb455f9
...
@@ -26,20 +26,17 @@ if __name__ == "__main__":
...
@@ -26,20 +26,17 @@ if __name__ == "__main__":
pc
.
close
()
pc
.
close
()
topic_id_list
=
919337
topic_id_list
=
919337
if
topic_id_list
:
if
topic_id_list
:
def
fun_timer
():
def
fun_timer
():
cookies
=
login
()
cookies
=
login
()
if
cookies
:
if
cookies
:
click
(
cookies
,
id
)
click
(
cookies
,
id
)
global
timer
global
timer
timer
=
threading
.
Timer
(
60
,
fun_timer
)
timer
=
threading
.
Timer
(
1
,
fun_timer
)
timer
.
start
()
timer
.
start
()
# timer = threading.Timer(4, fun_timer)
# timer.start()
# timer = threading.Timer(5, fun_timer)
# timer.start()
timer
=
threading
.
Timer
(
1
,
fun_timer
)
# 首次启动
timer
=
threading
.
Timer
(
1
,
fun_timer
)
# 首次启动
timer
.
start
()
timer
.
start
()
...
...
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