Commit 8223481f authored by lixiaofang's avatar lixiaofang

add

parent 65faeb9a
<?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="" />
<list default="true" id="fd1f0b61-1139-44e5-87e7-f8b86ff52376" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/auto_urge1.py" beforeDir="false" afterPath="$PROJECT_DIR$/auto_urge1.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/auto_urge2.py" beforeDir="false" afterPath="$PROJECT_DIR$/auto_urge2.py" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
......@@ -119,14 +122,42 @@
</counts>
</usages-collector>
</session>
<session id="-334786743">
<usages-collector id="statistics.lifecycle.project">
<counts>
<entry key="project.open.time.2" value="1" />
<entry key="project.opened" value="1" />
</counts>
</usages-collector>
<usages-collector id="statistics.file.extensions.open">
<counts>
<entry key="py" value="2" />
</counts>
</usages-collector>
<usages-collector id="statistics.file.types.open">
<counts>
<entry key="Python" value="2" />
</counts>
</usages-collector>
<usages-collector id="statistics.file.extensions.edit">
<counts>
<entry key="py" value="6" />
</counts>
</usages-collector>
<usages-collector id="statistics.file.types.edit">
<counts>
<entry key="Python" value="6" />
</counts>
</usages-collector>
</session>
</component>
<component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/auto_request.py">
<entry file="file://$PROJECT_DIR$/auto_urge1.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="210">
<caret line="14" column="43" selection-start-line="14" selection-start-column="43" selection-end-line="14" selection-end-column="62" />
<state relative-caret-position="105">
<caret line="45" column="32" selection-start-line="45" selection-start-column="32" selection-end-line="45" selection-end-column="32" />
<folding>
<element signature="e#0#15#0" expanded="true" />
</folding>
......@@ -135,13 +166,10 @@
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/auto_comment1.py">
<entry file="file://$PROJECT_DIR$/auto_urge2.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="432">
<caret line="52" column="16" selection-start-line="52" selection-start-column="16" selection-end-line="54" selection-end-column="46" />
<folding>
<element signature="e#0#14#0" expanded="true" />
</folding>
<state relative-caret-position="540">
<caret line="53" column="27" lean-forward="true" selection-start-line="53" selection-start-column="27" selection-end-line="53" selection-end-column="27" />
</state>
</provider>
</entry>
......@@ -149,7 +177,7 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/fix_no_comment_click.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="218">
<state relative-caret-position="420">
<caret line="38" column="8" selection-start-line="38" selection-start-column="8" selection-end-line="43" selection-end-column="42" />
<folding>
<element signature="e#0#15#0" expanded="true" />
......@@ -161,7 +189,7 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/fix_topic_by_id.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="315">
<state relative-caret-position="165">
<caret line="21" column="33" selection-start-line="21" selection-start-column="33" selection-end-line="21" selection-end-column="33" />
<folding>
<element signature="e#0#15#0" expanded="true" />
......@@ -173,7 +201,7 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/one_by_one.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="340">
<state relative-caret-position="915">
<caret line="69" column="47" selection-start-line="69" selection-start-column="47" selection-end-line="69" selection-end-column="47" />
<folding>
<element signature="e#0#15#0" expanded="true" />
......@@ -185,7 +213,7 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/auto_follow.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="75">
<state relative-caret-position="570">
<caret line="47" selection-start-line="47" selection-end-line="47" />
</state>
</provider>
......@@ -194,7 +222,7 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/auto_follow2.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="295">
<state relative-caret-position="630">
<caret line="51" selection-start-line="51" selection-end-line="51" />
</state>
</provider>
......@@ -203,7 +231,7 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/auto_click2.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="191">
<state relative-caret-position="360">
<caret line="31" column="66" selection-start-line="31" selection-start-column="12" selection-end-line="31" selection-end-column="66" />
</state>
</provider>
......@@ -212,7 +240,7 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/auto_lunch_app.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="355">
<state relative-caret-position="495">
<caret line="42" column="45" selection-start-line="42" selection-start-column="45" selection-end-line="42" selection-end-column="45" />
</state>
</provider>
......@@ -221,7 +249,7 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/auto_click1.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="415">
<state relative-caret-position="585">
<caret line="46" selection-start-line="46" selection-end-line="49" selection-end-column="33" />
</state>
</provider>
......@@ -295,9 +323,7 @@
<option value="$PROJECT_DIR$/auto_click2.py" />
<option value="$PROJECT_DIR$/comment.txt" />
<option value="$PROJECT_DIR$/guanshui" />
<option value="$PROJECT_DIR$/auto_urge2.py" />
<option value="$PROJECT_DIR$/auto_urge3.py" />
<option value="$PROJECT_DIR$/auto_urge1.py" />
<option value="$PROJECT_DIR$/auto_star_topic.py" />
<option value="$PROJECT_DIR$/auto_star_urge.py" />
<option value="$PROJECT_DIR$/test.py" />
......@@ -311,20 +337,22 @@
<option value="$PROJECT_DIR$/auto_follow.py" />
<option value="$PROJECT_DIR$/auto_follow2.py" />
<option value="$PROJECT_DIR$/fix_topic_by_id.py" />
<option value="$PROJECT_DIR$/auto_urge2.py" />
<option value="$PROJECT_DIR$/auto_urge1.py" />
</list>
</option>
</component>
<component name="ProjectFrameBounds" extendedState="6">
<component name="ProjectFrameBounds">
<option name="x" value="-3" />
<option name="y" value="23" />
<option name="width" value="1280" />
<option name="height" value="717" />
<option name="width" value="1920" />
<option name="height" value="720" />
</component>
<component name="ProjectView">
<navigator proportions="" version="1">
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="Scope" />
<pane id="ProjectPane">
<subPane>
<expand>
......@@ -336,6 +364,7 @@
<select />
</subPane>
</pane>
<pane id="Scope" />
</panes>
</component>
<component name="PropertiesComponent">
......@@ -527,12 +556,12 @@
<servers />
</component>
<component name="ToolWindowManager">
<frame x="0" y="23" width="1280" height="720" extended-state="6" />
<frame x="-3" y="23" width="1920" height="720" extended-state="0" />
<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" />
<window_info active="true" content_ui="combo" id="Project" order="2" sideWeight="0.7872763" visible="true" weight="0.33200952" />
<window_info content_ui="combo" id="Project" order="2" sideWeight="0.7872763" visible="true" weight="0.22011586" />
<window_info id="DB Browser" order="3" />
<window_info anchor="bottom" id="Message" order="0" />
<window_info anchor="bottom" id="Find" order="1" weight="0.3284974" />
......@@ -542,7 +571,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.37190083" />
<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" />
......@@ -711,9 +740,6 @@
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="591">
<caret line="48" column="36" lean-forward="true" selection-start-line="48" selection-start-column="36" selection-end-line="48" selection-end-column="36" />
<folding>
<element signature="e#0#15#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
......@@ -751,13 +777,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_urge2.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="205">
<caret line="42" selection-start-line="42" selection-end-line="61" selection-end-column="73" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_star_topic.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-427">
......@@ -825,9 +844,6 @@
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="383">
<caret line="112" column="50" selection-start-line="112" selection-start-column="50" selection-end-line="112" selection-end-column="50" />
<folding>
<element signature="e#0#15#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
......@@ -835,9 +851,6 @@
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="325">
<caret line="50" column="65" selection-start-line="50" selection-start-column="65" selection-end-line="50" selection-end-column="65" />
<folding>
<element signature="e#0#15#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
......@@ -851,16 +864,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_urge1.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="413">
<caret line="54" column="44" selection-start-line="54" selection-end-line="55" />
<folding>
<element signature="e#0#15#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_click.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="290">
......@@ -875,40 +878,49 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_lunch_app.py">
<entry file="file://$PROJECT_DIR$/auto_request.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="355">
<caret line="42" column="45" selection-start-line="42" selection-start-column="45" selection-end-line="42" selection-end-column="45" />
<state relative-caret-position="69">
<caret line="14" column="43" selection-start-line="14" selection-start-column="43" selection-end-line="14" selection-end-column="62" />
<folding>
<element signature="e#0#15#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_click1.py">
<entry file="file://$PROJECT_DIR$/auto_comment1.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="415">
<caret line="46" selection-start-line="46" selection-end-line="49" selection-end-column="33" />
<state relative-caret-position="690">
<caret line="52" column="16" selection-start-line="52" selection-start-column="16" selection-end-line="54" selection-end-column="46" />
<folding>
<element signature="e#0#14#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_comment1.py">
<entry file="file://$PROJECT_DIR$/fix_no_comment_click.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="432">
<caret line="52" column="16" selection-start-line="52" selection-start-column="16" selection-end-line="54" selection-end-column="46" />
<state relative-caret-position="420">
<caret line="38" column="8" selection-start-line="38" selection-start-column="8" selection-end-line="43" selection-end-column="42" />
<folding>
<element signature="e#0#14#0" expanded="true" />
<element signature="e#0#15#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_click2.py">
<entry file="file://$PROJECT_DIR$/fix_topic_by_id.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="191">
<caret line="31" column="66" selection-start-line="31" selection-start-column="12" selection-end-line="31" selection-end-column="66" />
<state relative-caret-position="165">
<caret line="21" column="33" selection-start-line="21" selection-start-column="33" selection-end-line="21" selection-end-column="33" />
<folding>
<element signature="e#0#15#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/one_by_one.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="340">
<state relative-caret-position="915">
<caret line="69" column="47" selection-start-line="69" selection-start-column="47" selection-end-line="69" selection-end-column="47" />
<folding>
<element signature="e#0#15#0" expanded="true" />
......@@ -918,42 +930,50 @@
</entry>
<entry file="file://$PROJECT_DIR$/auto_follow.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="75">
<state relative-caret-position="570">
<caret line="47" selection-start-line="47" selection-end-line="47" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_follow2.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="295">
<state relative-caret-position="630">
<caret line="51" selection-start-line="51" selection-end-line="51" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/fix_no_comment_click.py">
<entry file="file://$PROJECT_DIR$/auto_click2.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="218">
<caret line="38" column="8" selection-start-line="38" selection-start-column="8" selection-end-line="43" selection-end-column="42" />
<folding>
<element signature="e#0#15#0" expanded="true" />
</folding>
<state relative-caret-position="360">
<caret line="31" column="66" selection-start-line="31" selection-start-column="12" selection-end-line="31" selection-end-column="66" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/fix_topic_by_id.py">
<entry file="file://$PROJECT_DIR$/auto_lunch_app.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="315">
<caret line="21" column="33" selection-start-line="21" selection-start-column="33" selection-end-line="21" selection-end-column="33" />
<folding>
<element signature="e#0#15#0" expanded="true" />
</folding>
<state relative-caret-position="495">
<caret line="42" column="45" selection-start-line="42" selection-start-column="45" selection-end-line="42" selection-end-column="45" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_request.py">
<entry file="file://$PROJECT_DIR$/auto_click1.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="210">
<caret line="14" column="43" selection-start-line="14" selection-start-column="43" selection-end-line="14" selection-end-column="62" />
<state relative-caret-position="585">
<caret line="46" selection-start-line="46" selection-end-line="49" selection-end-column="33" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_urge2.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="540">
<caret line="53" column="27" lean-forward="true" selection-start-line="53" selection-start-column="27" selection-end-line="53" selection-end-column="27" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_urge1.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="105">
<caret line="45" column="32" selection-start-line="45" selection-start-column="32" selection-end-line="45" selection-end-column="32" />
<folding>
<element signature="e#0#15#0" expanded="true" />
</folding>
......
......@@ -41,11 +41,11 @@ def get_data(numtime1, numtime2):
if __name__ == "__main__":
try:
time_list = [1, 2, 3, 4, 5, 6, 7]
numtime1, numtime2 = time_convs(8,0)
numtime1, numtime2 = time_convs(8, 0)
logging.info("get numtime1:%s" % numtime1)
logging.info("get numtime2:%s" % numtime2)
user_id = get_data(numtime1, numtime2)
urge_num = random.randint(0,1)
urge_num = random.randint(0, 1)
if urge_num == 1:
for j in user_id and user_id:
id = int(j[0])
......
......@@ -41,17 +41,17 @@ def get_data(numtime1, numtime2):
if __name__ == "__main__":
try:
time_list = [1, 2, 3, 4, 5, 6, 7]
for i in time_list:
numtime1, numtime2 = time_convs(i + 1, i - 1)
logging.info("get numtime1:%s" % numtime1)
user_id = get_data(numtime1, numtime2)
numtime1, numtime2 = time_convs(8, 0)
logging.info("get numtime1:%s" % numtime1)
logging.info("get numtime2:%s" % numtime2)
user_id = get_data(numtime1, numtime2)
for j in user_id and user_id:
urge_num = random.randint(0, 1)
if urge_num == 1:
for j in user_id and user_id:
id = int(j[0])
# time.sleep(random.randint(10, 50))
cookies = login()
if cookies is not None:
Urge(cookies, id)
id = int(j[0])
# time.sleep(random.randint(10, 50))
cookies = login()
if cookies is not None:
Urge(cookies, id)
except:
logging.error("catch exception,main:%s" % traceback.format_exc())
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