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
49973df7
Commit
49973df7
authored
Dec 09, 2018
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cookies
parent
40bfd4d5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
29 deletions
+29
-29
workspace.xml
.idea/workspace.xml
+28
-28
auto_follow_majia.py
auto_follow_majia.py
+1
-1
No files found.
.idea/workspace.xml
View file @
49973df7
...
...
@@ -83,7 +83,7 @@
<entry
key=
"cuigeng"
value=
"1"
/>
<entry
key=
"data"
value=
"12"
/>
<entry
key=
"dummy"
value=
"31"
/>
<entry
key=
"py"
value=
"83
71
"
/>
<entry
key=
"py"
value=
"83
90
"
/>
<entry
key=
"unr_data"
value=
"1"
/>
<entry
key=
"xuqiu"
value=
"1"
/>
</counts>
...
...
@@ -91,7 +91,7 @@
<usages-collector
id=
"statistics.file.types.edit"
>
<counts>
<entry
key=
"PLAIN_TEXT"
value=
"177"
/>
<entry
key=
"Python"
value=
"83
71
"
/>
<entry
key=
"Python"
value=
"83
90
"
/>
</counts>
</usages-collector>
</session>
...
...
@@ -176,18 +176,18 @@
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/auto_follow_majia.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1
23
"
>
<caret
line=
"11
7"
column=
"131"
selection-start-line=
"117"
selection-start-column=
"131"
selection-end-line=
"117"
selection-end-column=
"131
"
/>
<state
relative-caret-position=
"1
65
"
>
<caret
line=
"11
3"
column=
"537"
selection-start-line=
"113"
selection-start-column=
"537"
selection-end-line=
"113"
selection-end-column=
"537
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#421#598#0"
/>
<element
signature=
"e#622#1009#0"
/>
<element
signature=
"e#1036#1733#0"
/>
<element
signature=
"e#1769#2154#0"
/>
<marker
date=
"1544342
302
000"
expanded=
"true"
signature=
"1031:1734"
ph=
"..."
/>
<marker
date=
"1544342
655
000"
expanded=
"true"
signature=
"1031:1734"
ph=
"..."
/>
</folding>
</state>
</provider>
...
...
@@ -230,11 +230,11 @@
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/auto_follow.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1
95
"
>
<caret
line=
"1
79"
column=
"2"
selection-start-line=
"179"
selection-start-column=
"2"
selection-end-line=
"203"
selection-end-column=
"55
"
/>
<state
relative-caret-position=
"1
21
"
>
<caret
line=
"1
46"
column=
"69"
lean-forward=
"true"
selection-start-line=
"146"
selection-start-column=
"69"
selection-end-line=
"146"
selection-end-column=
"79
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#279#456#0"
/>
...
...
@@ -342,8 +342,8 @@
</option>
</component>
<component
name=
"ProjectFrameBounds"
>
<option
name=
"x"
value=
"74
6
"
/>
<option
name=
"y"
value=
"
13
4"
/>
<option
name=
"x"
value=
"74
3
"
/>
<option
name=
"y"
value=
"
54
4"
/>
<option
name=
"width"
value=
"1436"
/>
<option
name=
"height"
value=
"735"
/>
</component>
...
...
@@ -524,7 +524,7 @@
<servers
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"
-28"
y=
"23"
width=
"1436"
height=
"735"
extended-state=
"1
"
/>
<frame
x=
"
699"
y=
"92"
width=
"1436"
height=
"735"
extended-state=
"0
"
/>
<layout>
<window_info
content_ui=
"combo"
id=
"Project"
order=
"0"
visible=
"true"
weight=
"0.14487633"
/>
<window_info
id=
"Structure"
order=
"1"
side_tool=
"true"
weight=
"0.25"
/>
...
...
@@ -537,7 +537,7 @@
<window_info
anchor=
"bottom"
id=
"Inspection"
order=
"5"
weight=
"0.4"
/>
<window_info
anchor=
"bottom"
id=
"TODO"
order=
"6"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"7"
show_stripe_button=
"false"
/>
<window_info
active=
"true"
anchor=
"bottom"
id=
"Terminal"
order=
"8"
visible=
"true"
weight=
"0.
7403226
"
/>
<window_info
active=
"true"
anchor=
"bottom"
id=
"Terminal"
order=
"8"
visible=
"true"
weight=
"0.
5129032
"
/>
<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"
/>
...
...
@@ -888,18 +888,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_follow.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"195"
>
<caret
line=
"179"
column=
"2"
selection-start-line=
"179"
selection-start-column=
"2"
selection-end-line=
"203"
selection-end-column=
"55"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#279#456#0"
/>
<element
signature=
"e#480#867#0"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_click_n.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"345"
>
...
...
@@ -964,15 +952,27 @@
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_follow_majia.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1
23
"
>
<caret
line=
"11
7"
column=
"131"
selection-start-line=
"117"
selection-start-column=
"131"
selection-end-line=
"117"
selection-end-column=
"131
"
/>
<state
relative-caret-position=
"1
65
"
>
<caret
line=
"11
3"
column=
"537"
selection-start-line=
"113"
selection-start-column=
"537"
selection-end-line=
"113"
selection-end-column=
"537
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#421#598#0"
/>
<element
signature=
"e#622#1009#0"
/>
<element
signature=
"e#1036#1733#0"
/>
<element
signature=
"e#1769#2154#0"
/>
<marker
date=
"1544342302000"
expanded=
"true"
signature=
"1031:1734"
ph=
"..."
/>
<marker
date=
"1544342655000"
expanded=
"true"
signature=
"1031:1734"
ph=
"..."
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_follow.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"121"
>
<caret
line=
"146"
column=
"69"
lean-forward=
"true"
selection-start-line=
"146"
selection-start-column=
"69"
selection-end-line=
"146"
selection-end-column=
"79"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#279#456#0"
/>
<element
signature=
"e#480#867#0"
/>
</folding>
</state>
</provider>
...
...
auto_follow_majia.py
View file @
49973df7
...
...
@@ -101,7 +101,7 @@ def follow(cookies_get, id):
def
time_conv
():
try
:
now
=
datetime
.
datetime
.
now
()
yes_time
=
now
-
datetime
.
timedelta
(
minutes
=
15
)
yes_time
=
now
-
datetime
.
timedelta
(
days
=
1
)
return
yes_time
except
:
return
None
...
...
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