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
8efe5979
Commit
8efe5979
authored
Apr 23, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
01c5508f
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
165 additions
and
145 deletions
+165
-145
workspace.xml
.idea/workspace.xml
+118
-118
auto_click.py
auto_click.py
+10
-9
auto_click_n.py
auto_click_n.py
+7
-7
auto_follow_majia.py
auto_follow_majia.py
+2
-6
auto_follow_one.py
auto_follow_one.py
+2
-3
auto_request.py
auto_request.py
+9
-2
testss.py
testss.py
+17
-0
No files found.
.idea/workspace.xml
View file @
8efe5979
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-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$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
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_n.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_click_n.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_follow_one.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_follow_one.py"
afterDir=
"false"
/>
</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"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
@@ -25,7 +31,7 @@
...
@@ -25,7 +31,7 @@
<entry
key=
"batch_user_gen"
value=
"4"
/>
<entry
key=
"batch_user_gen"
value=
"4"
/>
<entry
key=
"comment"
value=
"2"
/>
<entry
key=
"comment"
value=
"2"
/>
<entry
key=
"guanshui"
value=
"3"
/>
<entry
key=
"guanshui"
value=
"3"
/>
<entry
key=
"py"
value=
"2
28
"
/>
<entry
key=
"py"
value=
"2
32
"
/>
<entry
key=
"txt"
value=
"8"
/>
<entry
key=
"txt"
value=
"8"
/>
<entry
key=
"xuqiu"
value=
"2"
/>
<entry
key=
"xuqiu"
value=
"2"
/>
</counts>
</counts>
...
@@ -33,7 +39,7 @@
...
@@ -33,7 +39,7 @@
<usages-collector
id=
"statistics.file.types.open"
>
<usages-collector
id=
"statistics.file.types.open"
>
<counts>
<counts>
<entry
key=
"PLAIN_TEXT"
value=
"19"
/>
<entry
key=
"PLAIN_TEXT"
value=
"19"
/>
<entry
key=
"Python"
value=
"2
28
"
/>
<entry
key=
"Python"
value=
"2
32
"
/>
</counts>
</counts>
</usages-collector>
</usages-collector>
<usages-collector
id=
"statistics.file.extensions.edit"
>
<usages-collector
id=
"statistics.file.extensions.edit"
>
...
@@ -41,14 +47,14 @@
...
@@ -41,14 +47,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=
"5
490
"
/>
<entry
key=
"py"
value=
"5
612
"
/>
<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=
"5
490
"
/>
<entry
key=
"Python"
value=
"5
612
"
/>
</counts>
</counts>
</usages-collector>
</usages-collector>
</session>
</session>
...
@@ -117,10 +123,10 @@
...
@@ -117,10 +123,10 @@
<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_
lunch_app
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
urge
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
359
"
>
<state
relative-caret-position=
"
274
"
>
<caret
line=
"
44"
column=
"40"
selection-start-line=
"44"
selection-start-column=
"40"
selection-end-line=
"44"
selection-end-column=
"40
"
/>
<caret
line=
"
56"
column=
"48"
selection-start-line=
"56"
selection-start-column=
"48"
selection-end-line=
"56"
selection-end-column=
"48
"
/>
<folding>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</folding>
...
@@ -129,10 +135,10 @@
...
@@ -129,10 +135,10 @@
</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_topic
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
urge_three
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
-134
"
>
<state
relative-caret-position=
"
322
"
>
<caret
line=
"
22"
column=
"23"
selection-start-line=
"22"
selection-start-column=
"23"
selection-end-line=
"22"
selection-end-column=
"23
"
/>
<caret
line=
"
52"
column=
"44"
selection-start-line=
"52"
selection-start-column=
"44"
selection-end-line=
"52"
selection-end-column=
"44
"
/>
<folding>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</folding>
...
@@ -141,76 +147,64 @@
...
@@ -141,76 +147,64 @@
</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$/auto_
user_id
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"3
06
"
>
<state
relative-caret-position=
"3
45
"
>
<caret
line=
"
48"
column=
"40"
selection-start-line=
"48"
selection-start-column=
"40"
selection-end-line=
"48"
selection-end-column=
"40
"
/>
<caret
line=
"
23"
column=
"13"
lean-forward=
"true"
selection-start-line=
"23"
selection-start-column=
"13"
selection-end-line=
"23"
selection-end-column=
"13
"
/>
<folding>
<folding>
<element
signature=
"e#
0
#15#0"
expanded=
"true"
/>
<element
signature=
"e#
1
#15#0"
expanded=
"true"
/>
</folding>
</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_
urge
.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=
"274"
>
<state
relative-caret-position=
"1130"
>
<caret
line=
"56"
column=
"48"
selection-start-line=
"56"
selection-start-column=
"48"
selection-end-line=
"56"
selection-end-column=
"48"
/>
<caret
line=
"112"
lean-forward=
"true"
selection-start-line=
"112"
selection-end-line=
"112"
/>
<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$/auto_
urge_thre
e.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
follow_on
e.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"322"
>
<state
relative-caret-position=
"660"
>
<caret
line=
"52"
column=
"44"
selection-start-line=
"52"
selection-start-column=
"44"
selection-end-line=
"52"
selection-end-column=
"44"
/>
<caret
line=
"53"
lean-forward=
"true"
selection-start-line=
"53"
selection-end-line=
"53"
/>
<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$/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=
"
297
"
>
<state
relative-caret-position=
"
330
"
>
<caret
line=
"2
9"
selection-start-line=
"29"
selection-end-line=
"29
"
/>
<caret
line=
"2
2"
column=
"33"
lean-forward=
"true"
selection-start-line=
"22"
selection-start-column=
"33"
selection-end-line=
"22"
selection-end-column=
"33
"
/>
<folding>
<folding>
<element
signature=
"e#
1
#15#0"
expanded=
"true"
/>
<element
signature=
"e#
0
#15#0"
expanded=
"true"
/>
</folding>
</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_follow_one.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_follow_majia.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"480"
>
<caret
line=
"60"
column=
"11"
selection-start-line=
"60"
selection-start-column=
"11"
selection-end-line=
"60"
selection-end-column=
"11"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<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=
"279"
>
<state
relative-caret-position=
"293"
>
<caret
line=
"107"
column=
"36"
selection-start-line=
"107"
selection-start-column=
"36"
selection-end-line=
"107"
selection-end-column=
"36"
/>
<caret
line=
"56"
column=
"30"
selection-start-line=
"56"
selection-start-column=
"30"
selection-end-line=
"56"
selection-end-column=
"30"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
pinned=
"false"
current-in-tab=
"true"
>
<file
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
request
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
click_n
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
212
"
>
<state
relative-caret-position=
"
165
"
>
<caret
line=
"
79"
column=
"9"
selection-start-line=
"79"
selection-start-column=
"4"
selection-end-line=
"79"
selection-end-column=
"
9"
/>
<caret
line=
"
11"
column=
"29"
selection-start-line=
"11"
selection-start-column=
"29"
selection-end-line=
"11"
selection-end-column=
"2
9"
/>
<folding>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</folding>
...
@@ -219,12 +213,12 @@
...
@@ -219,12 +213,12 @@
</entry>
</entry>
</file>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_
follow_majia
.py"
>
<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=
"
1155
"
>
<state
relative-caret-position=
"
360
"
>
<caret
line=
"
77"
column=
"31"
lean-forward=
"true"
selection-start-line=
"77"
selection-start-column=
"31"
selection-end-line=
"77"
selection-end-column=
"31
"
/>
<caret
line=
"
24"
column=
"23"
lean-forward=
"true"
selection-start-line=
"24"
selection-start-column=
"23"
selection-end-line=
"24"
selection-end-column=
"23
"
/>
<folding>
<folding>
<element
signature=
"e#0#1
5
#0"
expanded=
"true"
/>
<element
signature=
"e#0#1
1
#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
...
@@ -260,7 +254,6 @@
...
@@ -260,7 +254,6 @@
<component
name=
"IdeDocumentHistory"
>
<component
name=
"IdeDocumentHistory"
>
<option
name=
"CHANGED_PATHS"
>
<option
name=
"CHANGED_PATHS"
>
<list>
<list>
<option
value=
"$PROJECT_DIR$/README"
/>
<option
value=
"$PROJECT_DIR$/auto_start_up.py"
/>
<option
value=
"$PROJECT_DIR$/auto_start_up.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"
/>
...
@@ -293,28 +286,29 @@
...
@@ -293,28 +286,29 @@
<option
value=
"$PROJECT_DIR$/_celery.py"
/>
<option
value=
"$PROJECT_DIR$/_celery.py"
/>
<option
value=
"$PROJECT_DIR$/comment.txt"
/>
<option
value=
"$PROJECT_DIR$/comment.txt"
/>
<option
value=
"$PROJECT_DIR$/auto_at_once.py"
/>
<option
value=
"$PROJECT_DIR$/auto_at_once.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow_one.py"
/>
<option
value=
"$PROJECT_DIR$/auto_user_id.py"
/>
<option
value=
"$PROJECT_DIR$/auto_user_id.py"
/>
<option
value=
"$PROJECT_DIR$/auto_request.py"
/>
<option
value=
"$PROJECT_DIR$/offline_comment.py"
/>
<option
value=
"$PROJECT_DIR$/offline_comment.py"
/>
<option
value=
"$PROJECT_DIR$/instant.py"
/>
<option
value=
"$PROJECT_DIR$/instant.py"
/>
<option
value=
"$PROJECT_DIR$/com.py"
/>
<option
value=
"$PROJECT_DIR$/com.py"
/>
<option
value=
"$PROJECT_DIR$/auto_star_topic.py"
/>
<option
value=
"$PROJECT_DIR$/auto_star_topic.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click_n.py"
/>
<option
value=
"$PROJECT_DIR$/auto_commnet.py"
/>
<option
value=
"$PROJECT_DIR$/auto_commnet.py"
/>
<option
value=
"$PROJECT_DIR$/auto_every_day.py"
/>
<option
value=
"$PROJECT_DIR$/auto_every_day.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow_majia.py"
/>
<option
value=
"$PROJECT_DIR$/auto_lunch_app.py"
/>
<option
value=
"$PROJECT_DIR$/auto_lunch_app.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow_new.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow_new.py"
/>
<option
value=
"$PROJECT_DIR$/auto_star_urge.py"
/>
<option
value=
"$PROJECT_DIR$/auto_star_urge.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_request.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow_majia.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow_one.py"
/>
<option
value=
"$PROJECT_DIR$/testss.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click_n.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=
"724"
/>
<option
name=
"height"
value=
"724"
/>
...
@@ -365,7 +359,7 @@
...
@@ -365,7 +359,7 @@
</list>
</list>
</option>
</option>
</component>
</component>
<component
name=
"RunManager"
selected=
"Python.
auto_request
"
>
<component
name=
"RunManager"
selected=
"Python.
testss
"
>
<configuration
name=
"auto_commnet"
type=
"PythonConfigurationType"
factoryName=
"Python"
>
<configuration
name=
"auto_commnet"
type=
"PythonConfigurationType"
factoryName=
"Python"
>
<module
name=
"cybertron"
/>
<module
name=
"cybertron"
/>
<option
name=
"INTERPRETER_OPTIONS"
value=
""
/>
<option
name=
"INTERPRETER_OPTIONS"
value=
""
/>
...
@@ -450,7 +444,7 @@
...
@@ -450,7 +444,7 @@
<option
name=
"INPUT_FILE"
value=
""
/>
<option
name=
"INPUT_FILE"
value=
""
/>
<method
v=
"2"
/>
<method
v=
"2"
/>
</configuration>
</configuration>
<configuration
name=
"
exe
"
type=
"PythonConfigurationType"
factoryName=
"Python"
temporary=
"true"
>
<configuration
name=
"
test
"
type=
"PythonConfigurationType"
factoryName=
"Python"
temporary=
"true"
>
<module
name=
"cybertron"
/>
<module
name=
"cybertron"
/>
<option
name=
"INTERPRETER_OPTIONS"
value=
""
/>
<option
name=
"INTERPRETER_OPTIONS"
value=
""
/>
<option
name=
"PARENT_ENVS"
value=
"true"
/>
<option
name=
"PARENT_ENVS"
value=
"true"
/>
...
@@ -462,7 +456,7 @@
...
@@ -462,7 +456,7 @@
<option
name=
"IS_MODULE_SDK"
value=
"true"
/>
<option
name=
"IS_MODULE_SDK"
value=
"true"
/>
<option
name=
"ADD_CONTENT_ROOTS"
value=
"true"
/>
<option
name=
"ADD_CONTENT_ROOTS"
value=
"true"
/>
<option
name=
"ADD_SOURCE_ROOTS"
value=
"true"
/>
<option
name=
"ADD_SOURCE_ROOTS"
value=
"true"
/>
<option
name=
"SCRIPT_NAME"
value=
"$PROJECT_DIR$/
auto_follow_new
.py"
/>
<option
name=
"SCRIPT_NAME"
value=
"$PROJECT_DIR$/
test
.py"
/>
<option
name=
"PARAMETERS"
value=
""
/>
<option
name=
"PARAMETERS"
value=
""
/>
<option
name=
"SHOW_COMMAND_LINE"
value=
"false"
/>
<option
name=
"SHOW_COMMAND_LINE"
value=
"false"
/>
<option
name=
"EMULATE_TERMINAL"
value=
"false"
/>
<option
name=
"EMULATE_TERMINAL"
value=
"false"
/>
...
@@ -471,7 +465,7 @@
...
@@ -471,7 +465,7 @@
<option
name=
"INPUT_FILE"
value=
""
/>
<option
name=
"INPUT_FILE"
value=
""
/>
<method
v=
"2"
/>
<method
v=
"2"
/>
</configuration>
</configuration>
<configuration
name=
"test"
type=
"PythonConfigurationType"
factoryName=
"Python"
temporary=
"true"
>
<configuration
name=
"test
ss
"
type=
"PythonConfigurationType"
factoryName=
"Python"
temporary=
"true"
>
<module
name=
"cybertron"
/>
<module
name=
"cybertron"
/>
<option
name=
"INTERPRETER_OPTIONS"
value=
""
/>
<option
name=
"INTERPRETER_OPTIONS"
value=
""
/>
<option
name=
"PARENT_ENVS"
value=
"true"
/>
<option
name=
"PARENT_ENVS"
value=
"true"
/>
...
@@ -483,7 +477,7 @@
...
@@ -483,7 +477,7 @@
<option
name=
"IS_MODULE_SDK"
value=
"true"
/>
<option
name=
"IS_MODULE_SDK"
value=
"true"
/>
<option
name=
"ADD_CONTENT_ROOTS"
value=
"true"
/>
<option
name=
"ADD_CONTENT_ROOTS"
value=
"true"
/>
<option
name=
"ADD_SOURCE_ROOTS"
value=
"true"
/>
<option
name=
"ADD_SOURCE_ROOTS"
value=
"true"
/>
<option
name=
"SCRIPT_NAME"
value=
"$PROJECT_DIR$/test.py"
/>
<option
name=
"SCRIPT_NAME"
value=
"$PROJECT_DIR$/test
ss
.py"
/>
<option
name=
"PARAMETERS"
value=
""
/>
<option
name=
"PARAMETERS"
value=
""
/>
<option
name=
"SHOW_COMMAND_LINE"
value=
"false"
/>
<option
name=
"SHOW_COMMAND_LINE"
value=
"false"
/>
<option
name=
"EMULATE_TERMINAL"
value=
"false"
/>
<option
name=
"EMULATE_TERMINAL"
value=
"false"
/>
...
@@ -494,19 +488,19 @@
...
@@ -494,19 +488,19 @@
</configuration>
</configuration>
<list>
<list>
<item
itemvalue=
"Python.auto_commnet"
/>
<item
itemvalue=
"Python.auto_commnet"
/>
<item
itemvalue=
"Python.exe"
/>
<item
itemvalue=
"Python.dd"
/>
<item
itemvalue=
"Python.dd"
/>
<item
itemvalue=
"Python.test"
/>
<item
itemvalue=
"Python.test"
/>
<item
itemvalue=
"Python.auto_follow"
/>
<item
itemvalue=
"Python.auto_follow"
/>
<item
itemvalue=
"Python.auto_request"
/>
<item
itemvalue=
"Python.auto_request"
/>
<item
itemvalue=
"Python.testss"
/>
</list>
</list>
<recent_temporary>
<recent_temporary>
<list>
<list>
<item
itemvalue=
"Python.testss"
/>
<item
itemvalue=
"Python.auto_request"
/>
<item
itemvalue=
"Python.auto_request"
/>
<item
itemvalue=
"Python.auto_follow"
/>
<item
itemvalue=
"Python.auto_follow"
/>
<item
itemvalue=
"Python.test"
/>
<item
itemvalue=
"Python.test"
/>
<item
itemvalue=
"Python.dd"
/>
<item
itemvalue=
"Python.dd"
/>
<item
itemvalue=
"Python.exe"
/>
</list>
</list>
</recent_temporary>
</recent_temporary>
</component>
</component>
...
@@ -527,22 +521,22 @@
...
@@ -527,22 +521,22 @@
<servers
/>
<servers
/>
</component>
</component>
<component
name=
"ToolWindowManager"
>
<component
name=
"ToolWindowManager"
>
<frame
x=
"
0"
y=
"23"
width=
"1280"
height=
"724"
extended-state=
"0
"
/>
<frame
x=
"
6"
y=
"23"
width=
"1280"
height=
"724"
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.
20889595
"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"2"
sideWeight=
"0.7872763"
visible=
"true"
weight=
"0.
044479746
"
/>
<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"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"2"
weight=
"0.3295082
"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"2"
visible=
"true"
weight=
"0.0591133
"
/>
<window_info
anchor=
"bottom"
id=
"Debug"
order=
"3"
weight=
"0.56363636"
/>
<window_info
anchor=
"bottom"
id=
"Debug"
order=
"3"
weight=
"0.56363636"
/>
<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"
visible=
"true"
weight=
"0.10180624
"
/>
<window_info
anchor=
"bottom"
id=
"Terminal"
order=
"8"
weight=
"0.12151067
"
/>
<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"
/>
...
@@ -611,7 +605,6 @@
...
@@ -611,7 +605,6 @@
</breakpoint-manager>
</breakpoint-manager>
</component>
</component>
<component
name=
"editorHistoryManager"
>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/comment"
/>
<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"
>
<state
relative-caret-position=
"60"
>
<state
relative-caret-position=
"60"
>
...
@@ -757,26 +750,6 @@
...
@@ -757,26 +750,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_click.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"347"
>
<caret
line=
"32"
column=
"16"
selection-start-line=
"32"
selection-start-column=
"16"
selection-end-line=
"32"
selection-end-column=
"16"
/>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
</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=
"525"
>
<caret
line=
"35"
column=
"17"
selection-start-line=
"35"
selection-start-column=
"17"
selection-end-line=
"35"
selection-end-column=
"17"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_commnet.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_commnet.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"396"
>
<state
relative-caret-position=
"396"
>
...
@@ -797,23 +770,6 @@
...
@@ -797,23 +770,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_follow_majia.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1155"
>
<caret
line=
"77"
column=
"31"
lean-forward=
"true"
selection-start-line=
"77"
selection-start-column=
"31"
selection-end-line=
"77"
selection-end-column=
"31"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_follow_one.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"480"
>
<caret
line=
"60"
column=
"11"
selection-start-line=
"60"
selection-start-column=
"11"
selection-end-line=
"60"
selection-end-column=
"11"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_lunch_app.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=
"359"
>
<state
relative-caret-position=
"359"
>
...
@@ -824,13 +780,6 @@
...
@@ -824,13 +780,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_follow_new.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"279"
>
<caret
line=
"107"
column=
"36"
selection-start-line=
"107"
selection-start-column=
"36"
selection-end-line=
"107"
selection-end-column=
"36"
/>
</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=
"-134"
>
<state
relative-caret-position=
"-134"
>
...
@@ -871,20 +820,71 @@
...
@@ -871,20 +820,71 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_request.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"330"
>
<caret
line=
"22"
column=
"33"
lean-forward=
"true"
selection-start-line=
"22"
selection-start-column=
"33"
selection-end-line=
"22"
selection-end-column=
"33"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_follow_majia.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"293"
>
<caret
line=
"56"
column=
"30"
selection-start-line=
"56"
selection-start-column=
"30"
selection-end-line=
"56"
selection-end-column=
"30"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_follow_new.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1130"
>
<caret
line=
"112"
lean-forward=
"true"
selection-start-line=
"112"
selection-end-line=
"112"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/testss.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"2"
selection-start-line=
"2"
selection-end-line=
"2"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_follow_one.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"660"
>
<caret
line=
"53"
lean-forward=
"true"
selection-start-line=
"53"
selection-end-line=
"53"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_user_id.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_user_id.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
297
"
>
<state
relative-caret-position=
"
345
"
>
<caret
line=
"2
9"
selection-start-line=
"29"
selection-end-line=
"29
"
/>
<caret
line=
"2
3"
column=
"13"
lean-forward=
"true"
selection-start-line=
"23"
selection-start-column=
"13"
selection-end-line=
"23"
selection-end-column=
"13
"
/>
<folding>
<folding>
<element
signature=
"e#1#15#0"
expanded=
"true"
/>
<element
signature=
"e#1#15#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_request.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_click.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"360"
>
<caret
line=
"24"
column=
"23"
lean-forward=
"true"
selection-start-line=
"24"
selection-start-column=
"23"
selection-end-line=
"24"
selection-end-column=
"23"
/>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_click_n.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
212
"
>
<state
relative-caret-position=
"
165
"
>
<caret
line=
"
79"
column=
"9"
selection-start-line=
"79"
selection-start-column=
"4"
selection-end-line=
"79"
selection-end-column=
"
9"
/>
<caret
line=
"
11"
column=
"29"
selection-start-line=
"11"
selection-start-column=
"29"
selection-end-line=
"11"
selection-end-column=
"2
9"
/>
<folding>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</folding>
...
...
auto_click.py
View file @
8efe5979
...
@@ -8,17 +8,17 @@ from auto_request import login, click, time_convs
...
@@ -8,17 +8,17 @@ from auto_request import login, click, time_convs
from
auto_request
import
host
,
user
,
db
,
passwd
from
auto_request
import
host
,
user
,
db
,
passwd
def
get_data
(
numtime
):
def
get_data
(
numtime
,
numtime2
):
try
:
try
:
pc
=
pymysql
.
connect
(
host
=
host
,
user
=
user
,
passwd
=
passwd
,
db
=
db
,
port
=
3306
)
pc
=
pymysql
.
connect
(
host
=
host
,
user
=
user
,
passwd
=
passwd
,
db
=
db
,
port
=
3306
)
cursor
=
pc
.
cursor
()
cursor
=
pc
.
cursor
()
cursor
.
execute
(
cursor
.
execute
(
"SELECT user_id,id FROM topic WHERE is_online=1 and create_time LIKE '
%%%%%
s
%%%%
'"
%
numtime
)
"SELECT user_id,id FROM topic WHERE is_online=1 and create_time > '
%
s' and create_time < '
%
s'"
%
(
numtime
,
numtime2
))
data
=
cursor
.
fetchall
()
data
=
cursor
.
fetchall
()
topic_id
=
list
(
data
)
topic_id
=
list
(
data
)
topic_id_list
=
[]
topic_id_list
=
[]
if
topic_id
:
for
i
in
topic_id
and
topic_id
:
for
i
in
topic_id
:
cursor
.
execute
(
cursor
.
execute
(
"select user_id from user_extra where user_id ="
+
str
(
i
[
0
])
+
" and is_shadow =0"
)
"select user_id from user_extra where user_id ="
+
str
(
i
[
0
])
+
" and is_shadow =0"
)
data
=
cursor
.
fetchall
()
data
=
cursor
.
fetchall
()
...
@@ -28,6 +28,7 @@ def get_data(numtime):
...
@@ -28,6 +28,7 @@ def get_data(numtime):
logging
.
info
(
"Database version :
%
s "
%
topic_id_list
)
logging
.
info
(
"Database version :
%
s "
%
topic_id_list
)
pc
.
close
()
pc
.
close
()
return
topic_id_list
return
topic_id_list
except
:
except
:
logging
.
error
(
"catch exception,get_data:
%
s"
%
traceback
.
format_exc
())
logging
.
error
(
"catch exception,get_data:
%
s"
%
traceback
.
format_exc
())
return
[]
return
[]
...
@@ -41,15 +42,15 @@ if __name__ == "__main__":
...
@@ -41,15 +42,15 @@ if __name__ == "__main__":
for
i
in
time_list
:
for
i
in
time_list
:
numtime
=
time_convs
(
i
)
numtime
,
numtime2
=
time_convs
(
i
+
1
,
i
-
1
)
logging
.
info
(
"get numtime :
%
s "
%
numtime
)
logging
.
info
(
"get numtime2 :
%
s"
%
numtime2
)
user_id
=
get_data
(
numtime
)
user_id
=
get_data
(
numtime
,
numtime2
)
dicts
=
{}
dicts
=
{}
if
user_id
:
for
i
in
user_id
and
user_id
:
for
i
in
user_id
:
if
i
[
0
]
not
in
dicts
.
keys
():
if
i
[
0
]
not
in
dicts
.
keys
():
dicts
.
setdefault
(
i
[
0
],
[])
dicts
.
setdefault
(
i
[
0
],
[])
...
...
auto_click_n.py
View file @
8efe5979
...
@@ -9,18 +9,17 @@ from auto_request import login, click, time_convs
...
@@ -9,18 +9,17 @@ from auto_request import login, click, time_convs
from
auto_request
import
host
,
user
,
db
,
passwd
from
auto_request
import
host
,
user
,
db
,
passwd
def
get_data
(
numtime
):
def
get_data
(
numtime
,
numtime2
):
try
:
try
:
pc
=
pymysql
.
connect
(
host
=
host
,
user
=
user
,
passwd
=
passwd
,
db
=
db
,
port
=
3306
)
pc
=
pymysql
.
connect
(
host
=
host
,
user
=
user
,
passwd
=
passwd
,
db
=
db
,
port
=
3306
)
cursor
=
pc
.
cursor
()
cursor
=
pc
.
cursor
()
cursor
.
execute
(
cursor
.
execute
(
"SELECT user_id , id FROM topic WHERE is_online=1 and create_time
LIKE '
%%%%%
s
%%%%
' "
%
numtime
)
"SELECT user_id , id FROM topic WHERE is_online=1 and create_time
> '
%%%%%
s
%%%%
' and create_time < '
%%%%%
s
%%%%
' "
%
(
numtime
,
numtime2
)
)
data
=
cursor
.
fetchall
()
data
=
cursor
.
fetchall
()
topic_id
=
list
(
data
)
topic_id
=
list
(
data
)
topic_id_list
=
[]
topic_id_list
=
[]
if
topic_id
:
for
i
in
topic_id
and
topic_id
:
for
i
in
topic_id
:
cursor
.
execute
(
cursor
.
execute
(
"select user_id from user_extra where user_id ="
+
str
(
i
[
0
])
+
" and is_shadow =0"
)
"select user_id from user_extra where user_id ="
+
str
(
i
[
0
])
+
" and is_shadow =0"
)
data
=
cursor
.
fetchall
()
data
=
cursor
.
fetchall
()
...
@@ -50,9 +49,7 @@ if __name__ == "__main__":
...
@@ -50,9 +49,7 @@ if __name__ == "__main__":
dict
=
{}
dict
=
{}
if
user_id
:
for
i
in
user_id
and
user_id
:
for
i
in
user_id
:
if
i
[
0
]
not
in
dict
.
keys
():
if
i
[
0
]
not
in
dict
.
keys
():
...
@@ -80,5 +77,8 @@ if __name__ == "__main__":
...
@@ -80,5 +77,8 @@ if __name__ == "__main__":
if
cook
is
not
None
:
if
cook
is
not
None
:
click
(
cook
,
rand_id
)
click
(
cook
,
rand_id
)
except
:
except
:
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
logging
.
error
(
"catch exception,main:
%
s"
%
traceback
.
format_exc
())
auto_follow_majia.py
View file @
8efe5979
...
@@ -39,9 +39,7 @@ if __name__ == "__main__":
...
@@ -39,9 +39,7 @@ if __name__ == "__main__":
dict_follow_id
=
{}
dict_follow_id
=
{}
if
data
:
for
j
in
data
and
data
:
for
j
in
data
:
if
j
[
2
]
!=
None
:
if
j
[
2
]
!=
None
:
...
@@ -56,9 +54,7 @@ if __name__ == "__main__":
...
@@ -56,9 +54,7 @@ if __name__ == "__main__":
dict_email
=
{}
dict_email
=
{}
if
data
:
for
j
in
data
and
data
:
for
j
in
data
:
if
j
[
2
]
!=
None
:
if
j
[
2
]
!=
None
:
...
...
auto_follow_one.py
View file @
8efe5979
...
@@ -19,9 +19,8 @@ def get_data(numtime):
...
@@ -19,9 +19,8 @@ def get_data(numtime):
(
numtime
))
(
numtime
))
data
=
cursor
.
fetchall
()
data
=
cursor
.
fetchall
()
user_id
=
list
(
data
)
user_id
=
list
(
data
)
topic_id_list
=
[]
topic_id_list
=
[]
for
i
in
user_id
:
for
i
in
user_id
and
user_id
:
cursor
.
execute
(
cursor
.
execute
(
"select user_id from user_extra where user_id ="
+
str
(
i
[
0
])
+
" and is_shadow =0 "
)
"select user_id from user_extra where user_id ="
+
str
(
i
[
0
])
+
" and is_shadow =0 "
)
data
=
cursor
.
fetchall
()
data
=
cursor
.
fetchall
()
...
@@ -47,7 +46,7 @@ if __name__ == "__main__":
...
@@ -47,7 +46,7 @@ if __name__ == "__main__":
for
j
in
range
(
urge_num
):
for
j
in
range
(
urge_num
):
for
i
in
user_id
:
for
i
in
user_id
and
user_id
:
cookies
=
get_cookies
(
i
)
cookies
=
get_cookies
(
i
)
...
...
auto_request.py
View file @
8efe5979
...
@@ -137,12 +137,19 @@ def time_conv(minutest):
...
@@ -137,12 +137,19 @@ def time_conv(minutest):
return
None
return
None
def
time_convs
(
numtime
):
def
time_convs
(
numtime
,
numtime2
):
try
:
try
:
now
=
datetime
.
datetime
.
now
()
now
=
datetime
.
datetime
.
now
()
yes_time
=
now
-
datetime
.
timedelta
(
days
=
numtime
)
yes_time
=
now
-
datetime
.
timedelta
(
days
=
numtime
)
yes_time_str
=
yes_time
.
strftime
(
'
%
Y-
%
m-
%
d'
)
yes_time_str
=
yes_time
.
strftime
(
'
%
Y-
%
m-
%
d'
)
return
yes_time_str
yes_time_str
=
yes_time_str
+
' 23:59:59.000000'
yes_time2
=
now
-
datetime
.
timedelta
(
days
=
numtime2
)
yes_time_str2
=
yes_time2
.
strftime
(
'
%
Y-
%
m-
%
d'
)
yes_time_str2
=
yes_time_str2
+
' 00:00:00.000000'
return
yes_time_str
,
yes_time_str2
except
:
except
:
return
None
return
None
...
...
testss.py
0 → 100644
View file @
8efe5979
import
datetime
now
=
datetime
.
datetime
.
now
()
yes_time
=
now
-
datetime
.
timedelta
(
days
=
2
)
yes_time_str
=
yes_time
.
strftime
(
'
%
Y-
%
m-
%
d'
)
yes_time_str
=
yes_time_str
+
' 23:59:59.000000'
yes_time2
=
now
-
datetime
.
timedelta
(
days
=
0
)
yes_time_str2
=
yes_time2
.
strftime
(
'
%
Y-
%
m-
%
d'
)
yes_time_str2
=
yes_time_str2
+
' 00:00:00.000000'
print
(
yes_time_str
)
print
(
yes_time_str2
)
\ No newline at end of file
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