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
61d50ba5
Commit
61d50ba5
authored
Apr 20, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
c8ee123e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
22 deletions
+4
-22
workspace.xml
.idea/workspace.xml
+2
-19
auto_at_once.py
auto_at_once.py
+1
-2
auto_click_n.py
auto_click_n.py
+1
-1
No files found.
.idea/workspace.xml
View file @
61d50ba5
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"fd1f0b61-1139-44e5-87e7-f8b86ff52376"
name=
"Default Changelist"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/auto_at_once.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_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_n.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_click_n.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_every_day.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_every_day.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_follow_new.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_follow_new.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_follow_one.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_follow_one.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_lunch_app.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_lunch_app.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_star_topic.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_star_topic.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_star_urge.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_star_urge.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_urge.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_urge.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_urge_three.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_urge_three.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/~$comment.xlsx"
beforeDir=
"false"
/>
</list>
<list
default=
"true"
id=
"fd1f0b61-1139-44e5-87e7-f8b86ff52376"
name=
"Default Changelist"
comment=
""
/>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
...
@@ -370,7 +354,7 @@
</list>
</option>
</component>
<component
name=
"ProjectFrameBounds"
extendedState=
"1"
>
<component
name=
"ProjectFrameBounds"
>
<option
name=
"y"
value=
"23"
/>
<option
name=
"width"
value=
"1920"
/>
<option
name=
"height"
value=
"724"
/>
...
...
@@ -584,7 +568,6 @@
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"0"
y=
"23"
width=
"1920"
height=
"724"
extended-state=
"1"
/>
<editor
active=
"true"
/>
<layout>
<window_info
id=
"Structure"
order=
"0"
sideWeight=
"0.21188119"
side_tool=
"true"
weight=
"0.19112115"
/>
<window_info
id=
"Favorites"
order=
"1"
side_tool=
"true"
/>
...
...
auto_at_once.py
View file @
61d50ba5
...
...
@@ -16,8 +16,7 @@ def get_topic_id(numtime):
pc
=
pymysql
.
connect
(
host
=
host
,
user
=
user
,
passwd
=
passwd
,
db
=
db
,
port
=
port
)
cursor
=
pc
.
cursor
()
cursor
.
execute
(
"SELECT user_id ,id FROM topic WHERE is_online =1 and create_time >=
%
s"
,
(
numtime
))
"SELECT user_id ,id FROM topic WHERE is_online =1 and create_time >=
%
s"
,(
numtime
))
data
=
cursor
.
fetchall
()
topic_id
=
list
(
data
)
...
...
auto_click_n.py
View file @
61d50ba5
...
...
@@ -11,7 +11,7 @@ from auto_request import host, user, port, db, passwd
def
get_data
(
numtime
):
try
:
pc
=
pymysql
.
connect
(
host
=
host
,
user
=
user
,
passwd
=
passwd
,
db
=
db
,
port
=
port
)
pc
=
pymysql
.
connect
(
host
=
host
,
user
=
user
,
passwd
=
passwd
,
db
=
db
,
port
=
3306
)
cursor
=
pc
.
cursor
()
cursor
.
execute
(
...
...
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