Commit e5b7e34f authored by lixiaofang's avatar lixiaofang

cookies

parent 1ffd3535
......@@ -2,9 +2,12 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="fd1f0b61-1139-44e5-87e7-f8b86ff52376" name="Default Changelist" comment="">
<change afterPath="$PROJECT_DIR$/auto_star_pick.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<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_pick.py" beforeDir="false" afterPath="$PROJECT_DIR$/auto_pick.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/auto_star_pick.py" beforeDir="false" afterPath="$PROJECT_DIR$/auto_star_pick.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/dd.py" beforeDir="false" afterPath="$PROJECT_DIR$/dd.py" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
......@@ -53,31 +56,31 @@
<session id="1098123323">
<usages-collector id="statistics.lifecycle.project">
<counts>
<entry key="project.closed" value="1" />
<entry key="project.closed" value="3" />
<entry key="project.open.time.0" value="1" />
<entry key="project.open.time.1" value="1" />
<entry key="project.opened" value="2" />
<entry key="project.open.time.1" value="3" />
<entry key="project.opened" value="4" />
</counts>
</usages-collector>
<usages-collector id="statistics.file.extensions.open">
<counts>
<entry key="README" value="3" />
<entry key="batch user gen" value="4" />
<entry key="batch user gen" value="5" />
<entry key="comment" value="10" />
<entry key="comment_data" value="4" />
<entry key="csv" value="1" />
<entry key="cuigeng" value="3" />
<entry key="data" value="1" />
<entry key="guanshui" value="5" />
<entry key="py" value="285" />
<entry key="py" value="291" />
<entry key="xuqiu" value="3" />
</counts>
</usages-collector>
<usages-collector id="statistics.file.types.open">
<counts>
<entry key="CSV" value="1" />
<entry key="PLAIN_TEXT" value="33" />
<entry key="Python" value="285" />
<entry key="PLAIN_TEXT" value="34" />
<entry key="Python" value="291" />
</counts>
</usages-collector>
<usages-collector id="statistics.file.extensions.edit">
......@@ -88,7 +91,7 @@
<entry key="cuigeng" value="1" />
<entry key="data" value="12" />
<entry key="dummy" value="31" />
<entry key="py" value="7828" />
<entry key="py" value="8026" />
<entry key="unr_data" value="1" />
<entry key="xuqiu" value="1" />
</counts>
......@@ -96,7 +99,7 @@
<usages-collector id="statistics.file.types.edit">
<counts>
<entry key="PLAIN_TEXT" value="177" />
<entry key="Python" value="7828" />
<entry key="Python" value="8026" />
</counts>
</usages-collector>
</session>
......@@ -106,13 +109,30 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/auto_pick.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="337">
<caret line="253" column="52" selection-end-line="271" />
<state relative-caret-position="630">
<caret line="154" column="18" selection-end-line="275" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#283#460#0" />
<element signature="e#484#871#0" />
<element signature="e#891#1576#0" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/dd.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="175">
<caret line="151" column="47" selection-start-line="151" selection-start-column="40" selection-end-line="151" selection-end-column="47" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#283#460#0" />
<element signature="e#484#871#0" />
<element signature="e#891#1576#0" />
<element signature="e#1599#2253#0" />
<element signature="e#4228#4853#0" />
</folding>
</state>
</provider>
......@@ -121,57 +141,64 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/auto_click.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="163">
<caret line="96" column="8" lean-forward="true" selection-start-line="96" selection-start-column="8" selection-end-line="96" selection-end-column="56" />
<state relative-caret-position="627">
<caret line="165" column="24" selection-start-line="165" selection-start-column="24" selection-end-line="165" selection-end-column="24" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#369#546#0" />
<element signature="e#570#957#0" />
<element signature="e#977#1657#0" />
<element signature="e#2348#2936#0" />
<element signature="e#2970#3827#0" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/auto_follow.py">
<entry file="file://$PROJECT_DIR$/auto_click_n.py">
<provider selected="true" editor-type-id="text-editor">
<state>
<caret selection-end-line="202" selection-end-column="73" />
<state relative-caret-position="1371">
<caret line="160" column="40" lean-forward="true" selection-start-line="160" selection-start-column="40" selection-end-line="160" selection-end-column="40" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#279#456#0" />
<element signature="e#480#867#0" />
<element signature="e#888#1571#0" />
<element signature="e#2264#2843#0" />
<element signature="e#2879#4090#0" />
<element signature="e#276#453#0" />
<element signature="e#477#864#0" />
<element signature="e#885#1568#0" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/guanshui">
<entry file="file://$PROJECT_DIR$/auto_star_urge.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="425">
<caret line="265" column="14" selection-start-line="265" selection-start-column="14" selection-end-line="265" selection-end-column="14" />
<state relative-caret-position="690">
<caret line="130" selection-start-line="130" selection-end-line="130" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#300#477#0" />
<element signature="e#501#888#0" />
<element signature="e#909#1593#0" />
<element signature="e#1627#1987#0" />
<element signature="e#2018#2231#0" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/auto_follow_new.py">
<entry file="file://$PROJECT_DIR$/auto_star_pick.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-650">
<caret line="129" column="67" selection-start-line="129" selection-start-column="9" selection-end-line="129" selection-end-column="67" />
<state relative-caret-position="675">
<caret line="162" column="4" selection-start-line="162" selection-start-column="4" selection-end-line="162" selection-end-column="4" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#279#456#0" />
<element signature="e#480#867#0" />
<element signature="e#888#1571#0" />
<element signature="e#1607#1992#0" />
<element signature="e#283#460#0" />
<element signature="e#484#871#0" />
<element signature="e#891#1576#0" />
<element signature="e#1599#2202#0" />
<element signature="e#2235#2659#0" />
<element signature="e#2689#2902#0" />
<marker date="1544268647000" expanded="true" signature="2926:3485" ph="..." />
</folding>
</state>
</provider>
......@@ -180,8 +207,8 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/auto_follow_majia.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-340">
<caret line="125" column="26" lean-forward="true" selection-start-line="125" selection-start-column="26" selection-end-line="125" selection-end-column="26" />
<state relative-caret-position="975">
<caret line="125" column="26" selection-start-line="125" selection-start-column="26" selection-end-line="125" selection-end-column="26" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#421#598#0" />
......@@ -194,76 +221,43 @@
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/auto_urge.py">
<entry file="file://$PROJECT_DIR$/batch user gen">
<provider selected="true" editor-type-id="text-editor">
<state>
<caret selection-end-line="190" selection-end-column="73" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#300#477#0" />
<element signature="e#501#888#0" />
<element signature="e#909#1593#0" />
<element signature="e#2055#2268#0" />
<element signature="e#2297#2873#0" />
</folding>
<caret column="1" selection-start-column="1" selection-end-line="24" selection-end-column="19" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/auto_star_urge.py">
<entry file="file://$PROJECT_DIR$/auto_urge_three.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="168">
<caret line="130" selection-start-line="130" selection-end-line="130" />
<state relative-caret-position="1545">
<caret line="131" selection-start-line="131" selection-end-line="131" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#300#477#0" />
<element signature="e#501#888#0" />
<element signature="e#909#1593#0" />
<element signature="e#1627#1987#0" />
<element signature="e#2018#2231#0" />
<element signature="e#284#461#0" />
<element signature="e#485#872#0" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/auto_star_pick.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="515">
<caret line="187" column="33" lean-forward="true" selection-start-line="187" selection-start-column="33" selection-end-line="187" selection-end-column="33" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#283#460#0" />
<element signature="e#484#871#0" />
<element signature="e#891#1576#0" />
<element signature="e#1599#2202#0" />
<element signature="e#2235#2659#0" />
<element signature="e#2689#2902#0" />
<element signature="e#4836#6523#0" />
<marker date="1544267107000" expanded="true" signature="2926:3485" ph="..." />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/auto_at_once.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="198">
<caret line="177" column="26" selection-start-line="177" selection-start-column="26" selection-end-line="177" selection-end-column="26" />
<state relative-caret-position="132">
<caret line="250" column="20" selection-start-line="250" selection-start-column="20" selection-end-line="250" selection-end-column="20" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#421#598#0" />
<element signature="e#622#1009#0" />
<element signature="e#1029#1711#0" />
<element signature="e#1734#2337#0" />
<element signature="e#2373#2758#0" />
<element signature="e#2793#3177#0" />
<element signature="e#3219#3590#0" />
<element signature="e#3613#3792#0" />
<element signature="e#3825#4395#0" />
<element signature="e#4783#5630#0" />
<element signature="e#4420#4750#0" />
</folding>
</state>
</provider>
......@@ -307,30 +301,30 @@
<option value="$PROJECT_DIR$/auto_urge_three.py" />
<option value="$PROJECT_DIR$/auto_pick_five.py" />
<option value="$PROJECT_DIR$/auto_follow_majia.py" />
<option value="$PROJECT_DIR$/auto_at_once.py" />
<option value="$PROJECT_DIR$/auto_click_n.py" />
<option value="$PROJECT_DIR$/auto_click_one.py" />
<option value="$PROJECT_DIR$/auto_commnet.py" />
<option value="$PROJECT_DIR$/auto_every_day.py" />
<option value="$PROJECT_DIR$/auto_lunch_app.py" />
<option value="$PROJECT_DIR$/auto_click.py" />
<option value="$PROJECT_DIR$/auto_follow.py" />
<option value="$PROJECT_DIR$/exe.py" />
<option value="$PROJECT_DIR$/auto_follow_new.py" />
<option value="$PROJECT_DIR$/auto_star_topic.py" />
<option value="$PROJECT_DIR$/auto_urge.py" />
<option value="$PROJECT_DIR$/dd.py" />
<option value="$PROJECT_DIR$/auto_pick.py" />
<option value="$PROJECT_DIR$/auto_star_urge.py" />
<option value="$PROJECT_DIR$/auto_star_pick.py" />
<option value="$PROJECT_DIR$/auto_pick.py" />
<option value="$PROJECT_DIR$/dd.py" />
<option value="$PROJECT_DIR$/auto_at_once.py" />
<option value="$PROJECT_DIR$/auto_click.py" />
<option value="$PROJECT_DIR$/auto_click_n.py" />
</list>
</option>
</component>
<component name="ProjectFrameBounds" extendedState="1">
<option name="x" value="166" />
<option name="y" value="74" />
<option name="width" value="1705" />
<option name="height" value="727" />
<component name="ProjectFrameBounds">
<option name="x" value="210" />
<option name="y" value="86" />
<option name="width" value="1280" />
<option name="height" value="736" />
</component>
<component name="ProjectView">
<navigator proportions="" version="1">
......@@ -509,21 +503,20 @@
<servers />
</component>
<component name="ToolWindowManager">
<frame x="100" y="74" width="1705" height="727" extended-state="0" />
<editor active="true" />
<frame x="210" y="86" width="1280" height="736" extended-state="0" />
<layout>
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.12173396" />
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.16282764" />
<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" />
<window_info anchor="bottom" id="Find" order="1" weight="0.32921174" />
<window_info anchor="bottom" id="Run" order="2" visible="true" weight="0.0" />
<window_info anchor="bottom" id="Debug" order="3" weight="0.392126" />
<window_info anchor="bottom" id="Run" order="2" weight="0.32956153" />
<window_info active="true" anchor="bottom" id="Debug" order="3" visible="true" weight="0.49114332" />
<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="TODO" order="6" />
<window_info anchor="bottom" id="Version Control" order="7" show_stripe_button="false" />
<window_info anchor="bottom" id="Terminal" order="8" weight="0.2629921" />
<window_info anchor="bottom" id="Terminal" order="8" weight="0.76096183" />
<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" />
......@@ -571,22 +564,22 @@
<line>119</line>
<option name="timeStamp" value="92" />
</line-breakpoint>
<line-breakpoint enabled="true" suspend="THREAD" type="python-line">
<url>file://$PROJECT_DIR$/auto_pick.py</url>
<line>114</line>
<option name="timeStamp" value="93" />
</line-breakpoint>
<line-breakpoint enabled="true" suspend="THREAD" type="python-line">
<url>file://$PROJECT_DIR$/auto_pick_five.py</url>
<line>82</line>
<option name="timeStamp" value="99" />
</line-breakpoint>
<line-breakpoint enabled="true" suspend="THREAD" type="python-line">
<url>file://$PROJECT_DIR$/auto_urge_three.py</url>
<line>134</line>
<option name="timeStamp" value="100" />
</line-breakpoint>
</breakpoints>
<breakpoints-dialog>
<breakpoints-dialog />
</breakpoints-dialog>
<default-breakpoints>
<breakpoint type="python-exception">
<properties notifyOnTerminate="true" exception="BaseException">
<option name="notifyOnTerminate" value="true" />
</properties>
</breakpoint>
</default-breakpoints>
</breakpoint-manager>
</component>
<component name="editorHistoryManager">
......@@ -603,19 +596,8 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_one_day.py">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/batch user gen">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="390">
<caret line="26" selection-start-line="26" selection-end-line="26" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/exercise.py">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/auto_one_day.py" />
<entry file="file://$PROJECT_DIR$/exercise.py" />
<entry file="file://$PROJECT_DIR$/log_settings.py">
<provider selected="true" editor-type-id="text-editor">
<state>
......@@ -625,19 +607,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_click_n.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="301">
<caret line="112" column="60" selection-start-line="112" selection-start-column="60" selection-end-line="112" selection-end-column="60" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#276#453#0" />
<element signature="e#477#864#0" />
<element signature="e#885#1568#0" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_click_one.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="129">
......@@ -686,28 +655,6 @@
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="195">
<caret line="144" column="73" selection-start-line="144" selection-start-column="73" selection-end-line="144" selection-end-column="73" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#281#458#0" />
<element signature="e#482#869#0" />
<element signature="e#890#1575#0" />
<element signature="e#1609#1969#0" />
<element signature="e#1999#2212#0" />
<element signature="e#2242#2811#0" />
<element signature="e#2844#3269#0" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_urge_three.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="371">
<caret line="131" selection-start-line="131" selection-end-line="131" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#284#461#0" />
<element signature="e#485#872#0" />
</folding>
</state>
</provider>
</entry>
......@@ -728,20 +675,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_follow_majia.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-340">
<caret line="125" column="26" lean-forward="true" selection-start-line="125" selection-start-column="26" selection-end-line="125" selection-end-column="26" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#421#598#0" />
<element signature="e#622#1009#0" />
<element signature="e#1036#1699#0" />
<marker date="1544252362000" expanded="true" signature="1031:1701" ph="..." />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_follow.py">
<provider selected="true" editor-type-id="text-editor">
<state>
......@@ -791,28 +724,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/dd.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="150">
<caret line="10" column="12" lean-forward="true" selection-start-line="10" selection-start-column="12" selection-end-line="10" selection-end-column="12" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_click.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="163">
<caret line="96" column="8" lean-forward="true" selection-start-line="96" selection-start-column="8" selection-end-line="96" selection-end-column="56" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#369#546#0" />
<element signature="e#570#957#0" />
<element signature="e#977#1657#0" />
<element signature="e#2348#2936#0" />
<element signature="e#2970#3827#0" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_urge.py">
<provider selected="true" editor-type-id="text-editor">
<state>
......@@ -828,9 +739,23 @@
</state>
</provider>
</entry>
<entry file="file:///anaconda3/envs/code/lib/python3.6/logging/__init__.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="120">
<caret line="1060" selection-start-line="1060" selection-end-line="1060" />
</state>
</provider>
</entry>
<entry file="file://$USER_HOME$/Library/Caches/PyCharmCE2018.2/python_stubs/906302355/builtins.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="3360">
<caret line="224" column="4" selection-start-line="224" selection-start-column="4" selection-end-line="224" selection-end-column="4" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_star_urge.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="168">
<state relative-caret-position="690">
<caret line="130" selection-start-line="130" selection-end-line="130" />
<folding>
<element signature="e#0#15#0" expanded="true" />
......@@ -843,53 +768,124 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_pick.py">
<entry file="file://$PROJECT_DIR$/auto_star_pick.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="337">
<caret line="253" column="52" selection-end-line="271" />
<state relative-caret-position="675">
<caret line="162" column="4" selection-start-line="162" selection-start-column="4" selection-end-line="162" selection-end-column="4" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#283#460#0" />
<element signature="e#484#871#0" />
<element signature="e#891#1576#0" />
<element signature="e#1599#2202#0" />
<element signature="e#2235#2659#0" />
<element signature="e#2689#2902#0" />
<marker date="1544268647000" expanded="true" signature="2926:3485" ph="..." />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_star_pick.py">
<entry file="file://$PROJECT_DIR$/auto_follow_majia.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="975">
<caret line="125" column="26" selection-start-line="125" selection-start-column="26" selection-end-line="125" selection-end-column="26" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#421#598#0" />
<element signature="e#622#1009#0" />
<element signature="e#1036#1699#0" />
<marker date="1544252362000" expanded="true" signature="1031:1701" ph="..." />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/batch user gen">
<provider selected="true" editor-type-id="text-editor">
<state>
<caret column="1" selection-start-column="1" selection-end-line="24" selection-end-column="19" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_urge_three.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="515">
<caret line="187" column="33" lean-forward="true" selection-start-line="187" selection-start-column="33" selection-end-line="187" selection-end-column="33" />
<state relative-caret-position="1545">
<caret line="131" selection-start-line="131" selection-end-line="131" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#284#461#0" />
<element signature="e#485#872#0" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_pick.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="630">
<caret line="154" column="18" selection-end-line="275" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#283#460#0" />
<element signature="e#484#871#0" />
<element signature="e#891#1576#0" />
<element signature="e#1599#2202#0" />
<element signature="e#2235#2659#0" />
<element signature="e#2689#2902#0" />
<element signature="e#4836#6523#0" />
<marker date="1544267107000" expanded="true" signature="2926:3485" ph="..." />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_at_once.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="198">
<caret line="177" column="26" selection-start-line="177" selection-start-column="26" selection-end-line="177" selection-end-column="26" />
<state relative-caret-position="132">
<caret line="250" column="20" selection-start-line="250" selection-start-column="20" selection-end-line="250" selection-end-column="20" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#421#598#0" />
<element signature="e#622#1009#0" />
<element signature="e#1029#1711#0" />
<element signature="e#1734#2337#0" />
<element signature="e#2373#2758#0" />
<element signature="e#2793#3177#0" />
<element signature="e#3219#3590#0" />
<element signature="e#3613#3792#0" />
<element signature="e#3825#4395#0" />
<element signature="e#4783#5630#0" />
<element signature="e#4420#4750#0" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_click.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="627">
<caret line="165" column="24" selection-start-line="165" selection-start-column="24" selection-end-line="165" selection-end-column="24" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#369#546#0" />
<element signature="e#570#957#0" />
<element signature="e#977#1657#0" />
</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="1371">
<caret line="160" column="40" lean-forward="true" selection-start-line="160" selection-start-column="40" selection-end-line="160" selection-end-column="40" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#276#453#0" />
<element signature="e#477#864#0" />
<element signature="e#885#1568#0" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/dd.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="175">
<caret line="151" column="47" selection-start-line="151" selection-start-column="40" selection-end-line="151" selection-end-column="47" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#283#460#0" />
<element signature="e#484#871#0" />
<element signature="e#891#1576#0" />
<element signature="e#1599#2253#0" />
<element signature="e#4228#4853#0" />
</folding>
</state>
</provider>
......
......@@ -74,7 +74,11 @@ def login():
logging.info("response.text :%s"%response.text)
return {'sessionid': cook}
cok = {'sessionid': cook}
if cook is not None:
return {'sessionid': cook}
except:
......@@ -106,7 +110,9 @@ def logins(id):
logging.info("response.text :%s" % response.text)
return {'sessionid': cook}
if cook is not None:
return {'sessionid': cook}
except:
......@@ -243,8 +249,10 @@ if __name__ == "__main__":
cookies= login()
comment = get_comment()
if cookies is not None:
comment = get_comment()
reply(cookies, id, comment)
reply(cookies, id, comment)
except:
logging.error("catch exception,main:%s" % traceback.format_exc())
......@@ -76,7 +76,9 @@ def login():
logging.info("response.text %s"%response.text)
return {'sessionid': cook}
if cook is not None:
return {'sessionid': cook}
except:
......@@ -161,7 +163,9 @@ if __name__ == "__main__":
cook=login()
click(cook, rand_id)
if cook is not None:
click(cook, rand_id)
except:
logging.error("catch exception,main:%s" % traceback.format_exc())
......
......@@ -71,7 +71,9 @@ def logins():
logging.info("response.text : %s"%response.text)
return {'sessionid': cook}
if cook is not None:
return {'sessionid': cook}
except:
......@@ -158,7 +160,9 @@ if __name__ == "__main__":
cook=logins()
click(cook, rand_id)
if cook is not None:
click(cook, rand_id)
except:
logging.error("catch exception,main:%s" % traceback.format_exc())
\ No newline at end of file
......@@ -21,7 +21,6 @@ def index_first():
return None
def get_majia():
try:
......@@ -73,7 +72,9 @@ def logins():
logging.info("response.text %s"%response.text)
return {'sessionid': cook}
if cook is not None:
return {'sessionid': cook}
except:
......@@ -86,7 +87,7 @@ def follow(cookies_get, id):
'type': 1,
'id': id
}
response = requests.post(url=auto_click_url,
response = requests.post(url=auto_follow_url,
cookies=cookies_get,
data=post_dict)
......@@ -139,7 +140,9 @@ if __name__ == "__main__":
cook=logins()
follow(cook, id)
if cook is not None:
follow(cook, id)
except:
logging.error("catch exception,main:%s" % traceback.format_exc())
......
......@@ -78,7 +78,9 @@ def logins():
cook = cook[0].split('=')[1]
return {'sessionid': cook}
if cook is not None:
return {'sessionid': cook}
except:
......
......@@ -22,7 +22,6 @@ def index_first():
return None
def get_majia():
try:
......@@ -74,7 +73,9 @@ def logins():
logging.info("response.text :%s" %response.text)
return {'sessionid': cook}
if cook is not None:
return {'sessionid': cook}
except:
......@@ -188,7 +189,9 @@ if __name__ == "__main__":
cookies=logins()
follow(cookies, id)
if cookies is not None:
follow(cookies, id)
user_id = get_topic_data(numtime)
......@@ -205,7 +208,9 @@ if __name__ == "__main__":
cookies = logins()
pick(cookies, id)
if cookies is not None:
pick(cookies, id)
except:
logging.error("catch exception,main:%s" % traceback.format_exc())
......
......@@ -71,7 +71,9 @@ def logins():
logging.info("response.text :%s"%response.text)
return {'sessionid': cook}
if cook is not None:
return {'sessionid': cook}
except:
......@@ -195,7 +197,9 @@ if __name__ == "__main__":
cookies=logins()
follow(cookies, id)
if cookies is not None:
follow(cookies, id)
# time.sleep(random.randint(2000,2500))
......
......@@ -71,7 +71,9 @@ def logins(user_id):
logging.info("response.text :%s" % response.text)
return {'sessionid': cook}
if cook is not None:
return {'sessionid': cook}
except:
......@@ -79,7 +81,6 @@ def logins(user_id):
return None
def follow(cookies_get, id):
try:
......@@ -97,7 +98,6 @@ def follow(cookies_get, id):
logging.error("catch exception,logins:%s" % traceback.format_exc())
def time_conv():
try:
now = datetime.datetime.now()
......@@ -105,6 +105,7 @@ def time_conv():
return yes_time
except:
return None
def get_follw_majia(numtime):
try:
db = pymysql.connect(host="rm-2ze5k2we69904787l.mysql.rds.aliyuncs.com", user='work', passwd='Gengmei123',
......@@ -122,7 +123,6 @@ def get_follw_majia(numtime):
logging.error("catch exception,get_data:%s" % traceback.format_exc())
return None
if __name__ == "__main__":
try:
......@@ -171,7 +171,9 @@ if __name__ == "__main__":
cookies=logins(id)
follow(cookies,i)
if cookies is not None:
follow(cookies,i)
except:
logging.error("catch exception,main:%s" % traceback.format_exc())
......
......@@ -71,7 +71,9 @@ def logins():
logging.info("response.text :%s"%response.text)
return {'sessionid': cook}
if cook is not None:
return {'sessionid': cook}
except:
......@@ -175,9 +177,12 @@ if __name__ == "__main__":
# time.sleep(random.randint(500, 1500))
for i in range(follow_num):
cookies = logins()
follow(cookies, id)
if cookies is not None:
follow(cookies, id)
# time.sleep(random.randint(2000, 3000))
......
......@@ -75,7 +75,9 @@ def logins():
logging.info("response.text :%s" % response.text)
return {'sessionid': cook}
if cook is not None:
return {'sessionid': cook}
except:
......@@ -158,13 +160,13 @@ if __name__ == "__main__":
for i in range(urge_num):
cookies = index_first()
cook=logins()
pick(cook, id)
if cook is not None:
pick(cook, id)
follow(cook,id)
follow(cook,id)
except:
logging.error("catch exception,main:%s" % traceback.format_exc())
......
......@@ -104,7 +104,11 @@ def logins(id):
logging.info("response.text :%s" % response.text)
return {'sessionid': cook}
cok ={'sessionid': cook}
if cok is not None:
return cok
except:
......@@ -216,7 +220,9 @@ if __name__ == "__main__":
cookies=login()
pick(cookies, id)
if cookies is not None:
pick(cookies, id)
# time.sleep(random.randint(500, 1000))
......@@ -239,7 +245,9 @@ if __name__ == "__main__":
cookies = login()
pick(cookies, id)
if cookies is not None:
pick(cookies, id)
# time.sleep(random.randint(500, 1000))
......@@ -265,7 +273,9 @@ if __name__ == "__main__":
cookies = logins(id)
pick(cookies, i)
if cookies is not None:
pick(cookies, i)
except:
logging.error("catch exception,main:%s" % traceback.format_exc())
......@@ -72,7 +72,9 @@ def logins():
logging.info("response.text :%s" % response.text)
return {'sessionid': cook}
if cook is not None:
return {'sessionid': cook}
except:
......@@ -139,7 +141,9 @@ if __name__ == "__main__":
cook = logins()
Urge(cook, id)
if cook is not None:
Urge(cook, id)
except:
logging.error("catch exception,main:%s" % traceback.format_exc())
......
......@@ -71,7 +71,9 @@ def login():
logging.info("response.text :%s" % response.text)
return {'sessionid': cook}
if cook is not None:
return {'sessionid': cook}
except:
......@@ -104,7 +106,9 @@ def logins(id):
logging.info("response.text :%s" % response.text)
return {'sessionid': cook}
if cook is not None:
return {'sessionid': cook}
except:
......@@ -149,12 +153,12 @@ def get_data(numtime):
logging.info("Database version : %s " % user_id)
db.close()
return user_id
except:
logging.error("catch exception,get_data:%s" % traceback.format_exc())
return None
def get_new_user_id(numtime):
try:
db = pymysql.connect(host="rm-2ze5k2we69904787l.mysql.rds.aliyuncs.com", user='work', passwd='Gengmei123',
db="alpha", port=3306)
......@@ -213,7 +217,9 @@ if __name__ == "__main__":
cookies = login()
pick(cookies, id)
if cookies is not None:
pick(cookies, id)
# time.sleep(random.randint(500, 1000))
......@@ -239,7 +245,9 @@ if __name__ == "__main__":
cookies = logins(id)
pick(cookies, i)
if cookies is not None:
pick(cookies, i)
except:
logging.error("catch exception,main:%s" % traceback.format_exc())
......@@ -74,7 +74,9 @@ def logins():
logging.info("response.text :%s" % response.text)
return {'sessionid': cook}
if cook is not None:
return {'sessionid': cook}
except:
......@@ -178,7 +180,9 @@ if __name__ == "__main__":
cookies = logins()
click(cookies, id)
if cookies is not None:
click(cookies, id)
# time.sleep(random.randint(500, 1000))
......@@ -196,7 +200,9 @@ if __name__ == "__main__":
cookies = logins()
follow(cookies,id)
if cookies is not None:
follow(cookies,id)
# time.sleep(random.randint(500, 1000))
......
......@@ -71,7 +71,9 @@ def logins():
logging.info("response.text :%s" % response.text)
return {'sessionid': cook}
if cook is not None:
return {'sessionid': cook}
except:
......@@ -145,7 +147,9 @@ if __name__ == "__main__":
cookies = logins()
Urge(cookies, id)
if cookies is not None:
Urge(cookies, id)
# time.sleep(random.randint(500, 1000))
......
......@@ -71,7 +71,9 @@ def logins():
logging.info("response.text :%s" % response.text)
return {'sessionid': cook}
if cook is not None:
return {'sessionid': cook}
except:
......@@ -138,7 +140,6 @@ def get_star_useid(numtime):
logging.error("catch exception,get_data:%s" % traceback.format_exc())
return None
if __name__ == "__main__":
try:
......@@ -162,7 +163,9 @@ if __name__ == "__main__":
cookies=logins()
Urge(cookies, id)
if cookies is not None:
Urge(cookies, id)
# time.sleep(random.randint(500, 1000))
......@@ -183,7 +186,9 @@ if __name__ == "__main__":
cookies = logins()
Urge(cookies, id)
if cookies is not None:
Urge(cookies, id)
# time.sleep(random.randint(500, 1000))
......
......@@ -62,7 +62,9 @@ def logins():
cook = headers['Set-Cookie'].split(";")
cook = cook[0].split('=')[1]
logging.info("response.text :%s" % response.text)
return {'sessionid': cook}
if cook is not None:
return {'sessionid': cook}
except:
logging.error("catch exception,logins:%s" % traceback.format_exc())
return None
......@@ -125,11 +127,12 @@ if __name__ == "__main__":
urge_num = random.randint(1, 2)
for i in range(urge_num):
cookies = index_first()
cook = logins()
pick(cook, id)
if cook is not None:
pick(cook, id)
except:
logging.error("catch exception,main:%s" % traceback.format_exc())
......
import requests
import time
import datetime
import pymysql
import random
import traceback
# from log_settings import *
import logging
auto_pick_url = "http://172.30.8.42:9001/api/v1/pick/do_pick"
login_url = "http://earth.igengmei.com/api/account/login_pwd"
def index_first():
try:
r1 = requests.get(login_url)
return r1.cookies.get_dict()
except:
logging.error("index_first:%s" % traceback.format_exc())
return None
def get_majia():
try:
data = open("batch user gen")
list=[]
for i in data:
list.append(i.strip('\n').strip(','))
# time.sleep(random.randint(0, 500))
maj = random.randint(1,len(list))
user_id=list[maj-1]
return user_id
except:
logging.error("catch exception,get_majia:%s" % traceback.format_exc())
return None
def login():
try:
# time.sleep(random.randint(300, 500))
user_id=get_majia()
cookies = index_first()
post_dict={
'account_type':2,
'pwd':'123456',
'email':user_id
}
response = requests.post(
url=login_url,
data=post_dict,
cookies=cookies
)
headers=response.headers
cook = headers['Set-Cookie'].split(";")
cook = cook[0].split('=')[1]
if cook is not None:
logging.info("response.text :%s" % response.text)
print({'sessionid': cook})
return {'sessionid': cook}
except:
logging.error("catch exception,logins:%s" % traceback.format_exc())
return None
def logins(id):
try:
cookies = index_first()
post_dict={
'account_type':2,
'pwd':'123456',
'email':id
}
response = requests.post(
url=login_url,
data=post_dict,
cookies=cookies
)
headers=response.headers
cook = headers['Set-Cookie'].split(";")
cook = cook[0].split('=')[1]
logging.info("response.text :%s" % response.text)
cok ={'sessionid': cook}
print(cok)
if cok is not None:
return cok
except:
logging.error("catch exception,logins:%s" % traceback.format_exc())
return None
def pick(cookies_get,id):
try:
post_dict = {
'pick_user_id': id,
'is_pick': 1,
'pick_type': 0
}
response = requests.post(url=auto_pick_url,
cookies=cookies_get,
data=post_dict)
print(response.text)
logging.info("response.text:%s" % response.text)
except:
logging.error("catch exception,logins:%s" % traceback.format_exc())
print(traceback.format_exc())
def time_conv(numtime):
try:
now = datetime.datetime.now()
yes_time = now - datetime.timedelta(days=numtime)
yes_time_str = yes_time.strftime('%Y-%m-%d')
return yes_time_str
except:
return None
def get_data(numtime):
try:
db = pymysql.connect(host="rm-2ze5k2we69904787l.mysql.rds.aliyuncs.com", user='work', passwd='Gengmei123', db="alpha", port=3306)
cursor = db.cursor()
cursor.execute("SELECT distinct(id) FROM picktopic WHERE create_time LIKE '%%%%%s%%%%'" %numtime)
data = cursor.fetchall()
user_id = list(data)
logging.info("Database version : %s " % user_id)
db.close()
return user_id
except:
logging.error("catch exception,get_data:%s" % traceback.format_exc())
return None
def get_new_user_id(numtime):
try:
db = pymysql.connect(host="rm-2ze5k2we69904787l.mysql.rds.aliyuncs.com", user='work', passwd='Gengmei123',
db="alpha", port=3306)
cursor = db.cursor()
cursor.execute(
"select user_id from account_user WHERE is_online =1 and create_time LIKE '%%%%%s%%%%'" % numtime)
data_new_user = cursor.fetchall()
data = list(data_new_user)
logging.info("Database version : %s " % data)
db.close()
return user_id
except:
logging.error("catch exception,get_data:%s" % traceback.format_exc())
return None
def get_star_useid(numtime):
try:
db = pymysql.connect(host="rm-2ze5k2we69904787l.mysql.rds.aliyuncs.com", user='work', passwd='Gengmei123',
db="alpha", port=3306)
cursor = db.cursor()
cursor.execute(
"SELECT user_id FROM topic WHERE content_level =4 or content_level =5 and create_time LIKE '%%%%%s%%%%'" % numtime)
data = cursor.fetchall()
user_id = list(data)
logging.info("Database version : %s " % user_id)
db.close()
return user_id
except:
logging.error("catch exception,get_data:%s" % traceback.format_exc())
return None
if __name__ == "__main__":
try:
time_list = [1,2,3,4,5,6,7]
#topic
for i in range(len(time_list)):
numtime = time_conv(time_list[i])
# user_id = get_data(numtime)
user_id=[1,2,3]
for j in user_id:
# time.sleep(random.randint(200,500))
pick_num = random.randint(1, 2)
for i in range(pick_num):
cookies=login()
if cookies is not None:
pick(cookies, j)
# time.sleep(random.randint(500, 1000))
except:
logging.error("catch exception,main:%s" % traceback.format_exc())
for i in range(3):
print(i)
for i in range(3):
print(i)
for i in range(3):
print(i)
\ No newline at end of file
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