Commit fd6e40fb authored by lixiaofang's avatar lixiaofang

add

parent 79aabcc5
......@@ -42,14 +42,14 @@
<entry key="comment" value="59" />
<entry key="dummy" value="6" />
<entry key="guanshui" value="2" />
<entry key="py" value="3191" />
<entry key="py" value="3285" />
<entry key="xuqiu" value="223" />
</counts>
</usages-collector>
<usages-collector id="statistics.file.types.edit">
<counts>
<entry key="PLAIN_TEXT" value="290" />
<entry key="Python" value="3191" />
<entry key="Python" value="3285" />
</counts>
</usages-collector>
</session>
......@@ -132,8 +132,8 @@
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/instant.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="570">
<caret line="38" column="36" selection-start-line="38" selection-start-column="36" selection-end-line="38" selection-end-column="36" />
<state relative-caret-position="540">
<caret line="36" column="16" selection-start-line="36" selection-start-column="16" selection-end-line="36" selection-end-column="16" />
<folding>
<element signature="e#0#15#0" expanded="true" />
</folding>
......@@ -516,7 +516,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.25906736" />
<window_info active="true" anchor="bottom" id="Terminal" order="8" visible="true" weight="0.015544041" />
<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="DB Execution Console" order="11" />
......@@ -935,8 +935,8 @@
</entry>
<entry file="file://$PROJECT_DIR$/instant.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="570">
<caret line="38" column="36" selection-start-line="38" selection-start-column="36" selection-end-line="38" selection-end-column="36" />
<state relative-caret-position="540">
<caret line="36" column="16" selection-start-line="36" selection-start-column="16" selection-end-line="36" selection-end-column="16" />
<folding>
<element signature="e#0#15#0" expanded="true" />
</folding>
......
......@@ -32,14 +32,34 @@ if __name__ == "__main__":
def fun_timer():
cookies = login()
if cookies:
click(cookies,topic_id_list)
click(cookies, topic_id_list)
global timer
timer = threading.Timer(60, fun_timer)
timer.start()
exec_count =1
if exec_count == 1:
# sleep_time = random.randint(300, 540)
sleep_time = 3
timer = threading.Timer(sleep_time, fun_timer)
timer.start()
exec_count+=1
timer = threading.Timer(70, fun_timer)
timer.start()
timer = threading.Timer(10, fun_timer) # 首次启动
if exec_count == 2:
# sleep_time = random.randint(1000, 1900)
sleep_time = 10
timer = threading.Timer(sleep_time, fun_timer)
timer.start()
exec_count += 1
if exec_count == 3:
# sleep_time = random.randint(2000, 3000)
sleep_time = 15
timer = threading.Timer(sleep_time, fun_timer)
timer.start()
exec_count += 1
timer = threading.Timer(1, fun_timer) # 首次启动
timer.start()
except:
......
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