Commit aa954e64 authored by lixiaofang's avatar lixiaofang

hh

parent cf4adee0
<?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$/aotu_at_once.py" beforeDir="false" afterPath="$PROJECT_DIR$/aotu_at_once.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/auto_commnet.py" beforeDir="false" afterPath="$PROJECT_DIR$/auto_commnet.py" afterDir="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" />
......@@ -81,7 +78,7 @@
<entry key="comment" value="16" />
<entry key="cuigeng" value="1" />
<entry key="data" value="12" />
<entry key="py" value="3141" />
<entry key="py" value="3157" />
<entry key="unr_data" value="1" />
<entry key="xuqiu" value="1" />
</counts>
......@@ -89,7 +86,7 @@
<usages-collector id="statistics.file.types.edit">
<counts>
<entry key="PLAIN_TEXT" value="35" />
<entry key="Python" value="3141" />
<entry key="Python" value="3157" />
</counts>
</usages-collector>
</session>
......@@ -119,8 +116,8 @@
<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" />
<state relative-caret-position="183">
<caret line="122" selection-start-line="122" selection-end-line="122" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#249#309#0" />
......@@ -277,9 +274,8 @@
</component>
<component name="ToolWindowManager">
<frame x="176" y="53" width="1280" height="725" extended-state="0" />
<editor active="true" />
<layout>
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.17791899" />
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.17791899" />
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
<window_info id="Favorites" order="2" side_tool="true" />
<window_info anchor="bottom" id="Message" order="0" />
......@@ -290,7 +286,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 anchor="bottom" id="Terminal" order="8" visible="true" weight="0.0" />
<window_info active="true" anchor="bottom" id="Terminal" order="8" visible="true" weight="0.328594" />
<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" />
......@@ -512,8 +508,8 @@
</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" />
<state relative-caret-position="183">
<caret line="122" selection-start-line="122" selection-end-line="122" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#249#309#0" />
......
......@@ -20,7 +20,6 @@ def index_first():
def login(cookies,user,pwd):
post_dict={
'account_type':2,
'pwd':pwd,
'email':user
......@@ -39,6 +38,8 @@ def login(cookies,user,pwd):
print(response.text, 'url')
print(cook)
return {'sessionid': cook}
def reply(cookies_get,id,content):
......@@ -50,12 +51,6 @@ def reply(cookies_get,id,content):
cookies=cookies_get,
data=post_dict)
text=response.text
if text[0]['error'] == 1 and text[0]['message']=='\\u5e16\\u5b50\\u5df2\\u4e0b\\u7ebf':
print("该产品已下线")
print(response.text,'url')
def time_conv(numtime):
......@@ -77,7 +72,6 @@ def get_data(numtime):
print("Database version : %s " % user_id)
db.close()
return user_id
def get_comment():
......@@ -91,6 +85,8 @@ def get_comment():
comment = list_guanshui[num-1]
print(comment)
return comment
if __name__ == "__main__":
......@@ -99,7 +95,7 @@ if __name__ == "__main__":
for i in range(len(time_list)):
time.sleep(random.randint(5000,6500))
#time.sleep(random.randint(5000,6500))
numtime = time_conv(time_list[i])
......@@ -117,7 +113,7 @@ if __name__ == "__main__":
# user_id=majia[num]
user = 's_PzFznI@shadow.com'
user = 's_AzAfOj@shadow.com'
pwd = '123456'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment