Commit 322b46ac authored by lixiaofang's avatar lixiaofang

hh

parent 5ca64ea2
...@@ -2,7 +2,14 @@ ...@@ -2,7 +2,14 @@
<project version="4"> <project version="4">
<component name="ChangeListManager"> <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$/aotu_at_once.py" beforeDir="false" afterPath="$PROJECT_DIR$/aotu_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_star.py" beforeDir="false" afterPath="$PROJECT_DIR$/auto_click_star.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_commnet.py" beforeDir="false" afterPath="$PROJECT_DIR$/auto_commnet.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_pick.py" beforeDir="false" afterPath="$PROJECT_DIR$/auto_pick.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/auto_urge.py" beforeDir="false" afterPath="$PROJECT_DIR$/auto_urge.py" afterDir="false" />
</list> </list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
...@@ -63,7 +70,7 @@ ...@@ -63,7 +70,7 @@
<entry key="cuigeng" value="3" /> <entry key="cuigeng" value="3" />
<entry key="data" value="1" /> <entry key="data" value="1" />
<entry key="guanshui" value="3" /> <entry key="guanshui" value="3" />
<entry key="py" value="60" /> <entry key="py" value="72" />
<entry key="xuqiu" value="3" /> <entry key="xuqiu" value="3" />
</counts> </counts>
</usages-collector> </usages-collector>
...@@ -71,7 +78,7 @@ ...@@ -71,7 +78,7 @@
<counts> <counts>
<entry key="CSV" value="1" /> <entry key="CSV" value="1" />
<entry key="PLAIN_TEXT" value="27" /> <entry key="PLAIN_TEXT" value="27" />
<entry key="Python" value="60" /> <entry key="Python" value="72" />
</counts> </counts>
</usages-collector> </usages-collector>
<usages-collector id="statistics.file.extensions.edit"> <usages-collector id="statistics.file.extensions.edit">
...@@ -80,7 +87,7 @@ ...@@ -80,7 +87,7 @@
<entry key="comment" value="16" /> <entry key="comment" value="16" />
<entry key="cuigeng" value="1" /> <entry key="cuigeng" value="1" />
<entry key="data" value="12" /> <entry key="data" value="12" />
<entry key="py" value="2944" /> <entry key="py" value="3131" />
<entry key="unr_data" value="1" /> <entry key="unr_data" value="1" />
<entry key="xuqiu" value="1" /> <entry key="xuqiu" value="1" />
</counts> </counts>
...@@ -88,46 +95,27 @@ ...@@ -88,46 +95,27 @@
<usages-collector id="statistics.file.types.edit"> <usages-collector id="statistics.file.types.edit">
<counts> <counts>
<entry key="PLAIN_TEXT" value="35" /> <entry key="PLAIN_TEXT" value="35" />
<entry key="Python" value="2944" /> <entry key="Python" value="3131" />
</counts> </counts>
</usages-collector> </usages-collector>
</session> </session>
</component> </component>
<component name="FileEditorManager"> <component name="FileEditorManager">
<leaf> <leaf>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/guanshui">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="339">
<caret line="265" column="14" lean-forward="true" selection-start-line="265" selection-start-column="14" selection-end-line="265" selection-end-column="14" />
</state>
</provider>
</entry>
</file>
<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="94">
<caret line="20" selection-start-line="20" selection-end-line="20" />
<folding>
<element signature="e#453#656#0" />
<element signature="e#672#904#0" />
<element signature="e#942#1113#0" />
<element signature="e#1134#1559#0" />
<marker date="1543905072000" expanded="true" signature="323:324" ph="..." />
<marker date="1543905072000" expanded="false" signature="323:325" ph="..." />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true"> <file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/auto_commnet.py"> <entry file="file://$PROJECT_DIR$/aotu_at_once.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="301"> <state relative-caret-position="173">
<caret line="112" column="35" lean-forward="true" selection-start-line="112" selection-start-column="35" selection-end-line="112" selection-end-column="35" /> <caret line="19" column="12" selection-start-line="19" selection-start-column="12" selection-end-line="19" selection-end-column="12" />
<folding> <folding>
<element signature="e#0#15#0" expanded="true" /> <element signature="e#0#15#0" expanded="true" />
<element signature="e#403#463#0" />
<element signature="e#736#969#0" />
<element signature="e#1001#1233#0" />
<element signature="e#1275#1501#0" />
<element signature="e#1526#1621#0" />
<element signature="e#1652#2079#0" />
<element signature="e#2106#2359#0" />
</folding> </folding>
</state> </state>
</provider> </provider>
...@@ -154,23 +142,23 @@ ...@@ -154,23 +142,23 @@
<option value="$PROJECT_DIR$/unr_data" /> <option value="$PROJECT_DIR$/unr_data" />
<option value="$PROJECT_DIR$/cuigeng" /> <option value="$PROJECT_DIR$/cuigeng" />
<option value="$PROJECT_DIR$/README" /> <option value="$PROJECT_DIR$/README" />
<option value="$PROJECT_DIR$/auto_follow.py" />
<option value="$PROJECT_DIR$/auto_click_star.py" />
<option value="$PROJECT_DIR$/auto_pick.py" />
<option value="$PROJECT_DIR$/auto_start_up.py" /> <option value="$PROJECT_DIR$/auto_start_up.py" />
<option value="$PROJECT_DIR$/auto_follow_majia.py" />
<option value="$PROJECT_DIR$/auto_urge.py" />
<option value="$PROJECT_DIR$/aotu_at_once.py" />
<option value="$PROJECT_DIR$/auto_click.py" /> <option value="$PROJECT_DIR$/auto_click.py" />
<option value="$PROJECT_DIR$/auto_urge.py" />
<option value="$PROJECT_DIR$/auto_pick.py" />
<option value="$PROJECT_DIR$/auto_follow_majia.py" />
<option value="$PROJECT_DIR$/auto_follow.py" />
<option value="$PROJECT_DIR$/auto_commnet.py" /> <option value="$PROJECT_DIR$/auto_commnet.py" />
<option value="$PROJECT_DIR$/auto_click_star.py" />
<option value="$PROJECT_DIR$/aotu_at_once.py" />
</list> </list>
</option> </option>
</component> </component>
<component name="ProjectFrameBounds"> <component name="ProjectFrameBounds" extendedState="1">
<option name="x" value="267" /> <option name="x" value="140" />
<option name="y" value="35" /> <option name="y" value="23" />
<option name="width" value="1280" /> <option name="width" value="1280" />
<option name="height" value="624" /> <option name="height" value="725" />
</component> </component>
<component name="ProjectView"> <component name="ProjectView">
<navigator proportions="" version="1"> <navigator proportions="" version="1">
...@@ -213,7 +201,28 @@ ...@@ -213,7 +201,28 @@
</list> </list>
</option> </option>
</component> </component>
<component name="RunManager"> <component name="RunManager" selected="Python.auto_click_star">
<configuration name="auto_click_star" type="PythonConfigurationType" factoryName="Python" temporary="true">
<module name="cybertron" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/auto_click_star.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" />
<option name="REDIRECT_INPUT" value="false" />
<option name="INPUT_FILE" value="" />
<method v="2" />
</configuration>
<configuration name="auto_commnet" type="PythonConfigurationType" factoryName="Python"> <configuration name="auto_commnet" type="PythonConfigurationType" factoryName="Python">
<module name="cybertron" /> <module name="cybertron" />
<option name="INTERPRETER_OPTIONS" value="" /> <option name="INTERPRETER_OPTIONS" value="" />
...@@ -235,6 +244,15 @@ ...@@ -235,6 +244,15 @@
<option name="INPUT_FILE" value="" /> <option name="INPUT_FILE" value="" />
<method v="2" /> <method v="2" />
</configuration> </configuration>
<list>
<item itemvalue="Python.auto_commnet" />
<item itemvalue="Python.auto_click_star" />
</list>
<recent_temporary>
<list>
<item itemvalue="Python.auto_click_star" />
</list>
</recent_temporary>
</component> </component>
<component name="SvnConfiguration"> <component name="SvnConfiguration">
<configuration /> <configuration />
...@@ -250,21 +268,21 @@ ...@@ -250,21 +268,21 @@
<servers /> <servers />
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="78" y="23" width="1280" height="624" extended-state="0" /> <frame x="140" y="23" width="1280" height="725" extended-state="1" />
<editor active="true" /> <editor active="true" />
<layout> <layout>
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.15806195" /> <window_info active="true" 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="Structure" order="1" side_tool="true" weight="0.25" />
<window_info id="Favorites" order="2" side_tool="true" /> <window_info id="Favorites" order="2" side_tool="true" />
<window_info anchor="bottom" id="Message" order="0" /> <window_info anchor="bottom" id="Message" order="0" />
<window_info anchor="bottom" id="Find" order="1" weight="0.32921174" /> <window_info anchor="bottom" id="Find" order="1" weight="0.32921174" />
<window_info anchor="bottom" id="Run" order="2" weight="0.0" /> <window_info anchor="bottom" id="Run" order="2" visible="true" weight="0.0" />
<window_info anchor="bottom" id="Debug" order="3" weight="0.39258114" /> <window_info anchor="bottom" id="Debug" order="3" weight="0.39258114" />
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" /> <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="Inspection" order="5" weight="0.4" />
<window_info anchor="bottom" id="TODO" order="6" /> <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="Version Control" order="7" show_stripe_button="false" />
<window_info active="true" anchor="bottom" id="Terminal" order="8" visible="true" weight="0.0" /> <window_info anchor="bottom" id="Terminal" order="8" weight="0.16587678" />
<window_info anchor="bottom" id="Event Log" order="9" side_tool="true" /> <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="Python Console" order="10" />
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" /> <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
...@@ -299,18 +317,18 @@ ...@@ -299,18 +317,18 @@
<breakpoints> <breakpoints>
<line-breakpoint enabled="true" suspend="THREAD" type="python-line"> <line-breakpoint enabled="true" suspend="THREAD" type="python-line">
<url>file://$PROJECT_DIR$/auto_follow_majia.py</url> <url>file://$PROJECT_DIR$/auto_follow_majia.py</url>
<line>37</line> <line>58</line>
<option name="timeStamp" value="20" /> <option name="timeStamp" value="20" />
</line-breakpoint> </line-breakpoint>
<line-breakpoint enabled="true" suspend="THREAD" type="python-line"> <line-breakpoint enabled="true" suspend="THREAD" type="python-line">
<url>file://$PROJECT_DIR$/aotu_at_once.py</url> <url>file://$PROJECT_DIR$/aotu_at_once.py</url>
<line>83</line> <line>91</line>
<option name="timeStamp" value="21" /> <option name="timeStamp" value="21" />
</line-breakpoint> </line-breakpoint>
<line-breakpoint enabled="true" suspend="THREAD" type="python-line"> <line-breakpoint enabled="true" suspend="THREAD" type="python-line">
<url>file://$PROJECT_DIR$/auto_click.py</url> <url>file://$PROJECT_DIR$/auto_follow.py</url>
<line>22</line> <line>62</line>
<option name="timeStamp" value="25" /> <option name="timeStamp" value="27" />
</line-breakpoint> </line-breakpoint>
</breakpoints> </breakpoints>
</breakpoint-manager> </breakpoint-manager>
...@@ -350,34 +368,6 @@ ...@@ -350,34 +368,6 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/auto_click_star.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-750">
<caret line="134" column="18" selection-start-line="134" selection-start-column="18" selection-end-line="134" selection-end-column="18" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#552#611#0" />
<element signature="e#646#849#0" />
<element signature="e#880#1112#0" />
<element signature="e#1147#1379#0" />
<element signature="e#1412#1624#0" />
<marker date="1543893866000" expanded="true" signature="3100:3101" ph="..." />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_urge.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="420">
<caret line="132" selection-start-line="132" selection-end-line="132" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#462#665#0" />
<element signature="e#707#946#0" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/cuigeng"> <entry file="file://$PROJECT_DIR$/cuigeng">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state> <state>
...@@ -399,90 +389,130 @@ ...@@ -399,90 +389,130 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/auto_follow.py"> <entry file="file://$PROJECT_DIR$/guanshui">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-1335"> <state relative-caret-position="339">
<caret line="68" lean-forward="true" selection-start-line="68" selection-end-line="68" /> <caret line="265" column="14" lean-forward="true" selection-start-line="265" selection-start-column="14" selection-end-line="265" selection-end-column="14" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#345#404#0" />
<element signature="e#439#642#0" />
<element signature="e#678#911#0" />
<element signature="e#942#1113#0" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/auto_follow_majia.py"> <entry file="file://$PROJECT_DIR$/auto_urge.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="480"> <state relative-caret-position="283">
<caret line="101" selection-start-line="101" selection-end-line="101" /> <caret line="72" lean-forward="true" selection-start-line="72" selection-end-line="72" />
<folding> <folding>
<element signature="e#0#15#0" expanded="true" /> <element signature="e#0#15#0" expanded="true" />
<element signature="e#437#640#0" /> <element signature="e#447#966#0" />
<element signature="e#675#908#0" />
<element signature="e#931#1043#0" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/auto_pick.py"> <entry file="file://$PROJECT_DIR$/auto_pick.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-360"> <state relative-caret-position="120">
<caret line="103" column="26" selection-start-line="103" selection-start-column="26" selection-end-line="103" selection-end-column="26" /> <caret line="8" column="61" selection-start-line="8" selection-start-column="61" selection-end-line="8" selection-end-column="61" />
<folding> <folding>
<element signature="e#0#15#0" expanded="true" /> <element signature="e#0#15#0" expanded="true" />
<element signature="e#266#326#0" /> <element signature="e#266#326#0" />
<element signature="e#363#563#0" /> <element signature="e#346#865#0" />
<element signature="e#373#427#0" />
<element signature="e#604#851#0" /> <element signature="e#604#851#0" />
<element signature="e#614#691#0" /> <element signature="e#614#691#0" />
<element signature="e#883#1052#0" /> <element signature="e#883#1052#0" />
<element signature="e#1083#1495#0" /> <element signature="e#1083#1495#0" />
<element signature="e#1533#2009#0" /> <element signature="e#1533#2009#0" />
<element signature="e#2345#2969#0" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/aotu_at_once.py"> <entry file="file://$PROJECT_DIR$/auto_follow_majia.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="268"> <state relative-caret-position="301">
<caret line="83" column="22" selection-start-line="83" selection-start-column="22" selection-end-line="83" selection-end-column="22" /> <caret line="91" column="26" selection-start-line="91" selection-start-column="26" selection-end-line="91" selection-end-column="26" />
<folding> <folding>
<element signature="e#0#15#0" expanded="true" /> <element signature="e#0#15#0" expanded="true" />
<element signature="e#1652#2077#0" /> <element signature="e#343#402#0" />
<element signature="e#422#941#0" />
<element signature="e#675#908#0" />
<element signature="e#931#1043#0" />
<element signature="e#1076#1530#0" />
<element signature="e#1865#2236#0" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/guanshui"> <entry file="file://$PROJECT_DIR$/auto_click_star.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="339"> <state relative-caret-position="380">
<caret line="265" column="14" lean-forward="true" selection-start-line="265" selection-start-column="14" selection-end-line="265" selection-end-column="14" /> <caret line="156" selection-start-line="156" selection-end-line="156" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#552#611#0" />
<element signature="e#631#1188#0" />
<element signature="e#880#1112#0" />
<element signature="e#1147#1379#0" />
<element signature="e#1412#1624#0" />
<element signature="e#1656#1903#0" />
<element signature="e#1934#2105#0" />
<element signature="e#2142#2605#0" />
<element signature="e#2641#3099#0" />
<element signature="e#3534#4823#0" />
<marker date="1543912788000" expanded="false" signature="3438:3439" ph="..." />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/auto_click.py"> <entry file="file://$PROJECT_DIR$/auto_follow.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="94"> <state relative-caret-position="421">
<caret line="20" selection-start-line="20" selection-end-line="20" /> <caret line="146" column="26" selection-start-line="146" selection-start-column="26" selection-end-line="146" selection-end-column="26" />
<folding> <folding>
<element signature="e#453#656#0" /> <element signature="e#0#15#0" expanded="true" />
<element signature="e#672#904#0" /> <element signature="e#345#404#0" />
<element signature="e#428#989#0" />
<element signature="e#678#911#0" />
<element signature="e#942#1113#0" /> <element signature="e#942#1113#0" />
<element signature="e#1134#1559#0" /> <element signature="e#1143#1577#0" />
<marker date="1543905072000" expanded="true" signature="323:324" ph="..." /> <element signature="e#1620#2831#0" />
<marker date="1543905072000" expanded="false" signature="323:325" ph="..." /> <element signature="e#3164#4269#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="43">
<caret line="22" column="12" selection-start-line="22" selection-start-column="12" selection-end-line="22" selection-end-column="12" />
<folding>
<element signature="e#384#903#0" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/auto_commnet.py"> <entry file="file://$PROJECT_DIR$/auto_commnet.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="301"> <state relative-caret-position="90">
<caret line="112" column="35" lean-forward="true" selection-start-line="112" selection-start-column="35" selection-end-line="112" selection-end-column="35" /> <caret line="19" selection-start-line="19" selection-end-line="52" selection-end-column="30" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#249#309#0" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/aotu_at_once.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="173">
<caret line="19" column="12" selection-start-line="19" selection-start-column="12" selection-end-line="19" selection-end-column="12" />
<folding> <folding>
<element signature="e#0#15#0" expanded="true" /> <element signature="e#0#15#0" expanded="true" />
<element signature="e#403#463#0" />
<element signature="e#736#969#0" />
<element signature="e#1001#1233#0" />
<element signature="e#1275#1501#0" />
<element signature="e#1526#1621#0" />
<element signature="e#1652#2079#0" />
<element signature="e#2106#2359#0" />
</folding> </folding>
</state> </state>
</provider> </provider>
......
...@@ -5,12 +5,6 @@ import pymysql ...@@ -5,12 +5,6 @@ import pymysql
import random import random
import pandas as pd import pandas as pd
cookies = {
"sessionid": '1',
}
auto_click_url = "http://earth.igengmei.com/api/v1/like" auto_click_url = "http://earth.igengmei.com/api/v1/like"
auto_click_url = "http://earth.igengmei.com/api/v1/reply/create" auto_click_url = "http://earth.igengmei.com/api/v1/reply/create"
auto_follow_url = "http://earth.igengmei.com/api/v1/follow" auto_follow_url = "http://earth.igengmei.com/api/v1/follow"
...@@ -23,20 +17,38 @@ def index_first(): ...@@ -23,20 +17,38 @@ def index_first():
return r1.cookies.get_dict() return r1.cookies.get_dict()
def login():
num_majia = random.randint(1, 300)
cookies = index_first()
# user_id=majia[num]
def login(cookies,user,pwd): user = 's_PzFznI@shadow.com'
pwd = '123456'
post_dict={ post_dict={
'account_type':user, 'account_type':2,
'pwd':pwd 'pwd':pwd,
'email':user
} }
response=requests.post( response = requests.post(
url=login_url, url=login_url,
data=post_dict, data=post_dict,
cookies=cookies cookies=cookies
) )
print(response.text,'url')
headers=response.headers
cook = headers['Set-Cookie'].split(";")
cook = cook[0].split('=')[1]
print(response.text, 'url')
return {'sessionid': cook}
def follow(cookies_get, id): def follow(cookies_get, id):
post_dict = { post_dict = {
...@@ -49,7 +61,6 @@ def follow(cookies_get, id): ...@@ -49,7 +61,6 @@ def follow(cookies_get, id):
print(response.text, 'url') print(response.text, 'url')
def dz(cookies_get, id): def dz(cookies_get, id):
post_dict = { post_dict = {
'type': 1, 'type': 1,
...@@ -61,7 +72,6 @@ def dz(cookies_get, id): ...@@ -61,7 +72,6 @@ def dz(cookies_get, id):
print(response.text, 'url') print(response.text, 'url')
def reply(cookies_get,id,content): def reply(cookies_get,id,content):
post_dict={ post_dict={
'topic_id':id, 'topic_id':id,
...@@ -73,14 +83,12 @@ def reply(cookies_get,id,content): ...@@ -73,14 +83,12 @@ def reply(cookies_get,id,content):
print(response.text, 'url') print(response.text, 'url')
def time_conv(): def time_conv():
now = datetime.datetime.now() now = datetime.datetime.now()
yes_time_str=now.strftime('%Y-%m-%d') yes_time_str=now.strftime('%Y-%m-%d')
return yes_time_str return yes_time_str
def get_data(numtime): def get_data(numtime):
db = pymysql.connect(host="rm-2ze5k2we69904787l.mysql.rds.aliyuncs.com", user='work', passwd='Gengmei123', db = pymysql.connect(host="rm-2ze5k2we69904787l.mysql.rds.aliyuncs.com", user='work', passwd='Gengmei123',
...@@ -96,7 +104,6 @@ def get_data(numtime): ...@@ -96,7 +104,6 @@ def get_data(numtime):
db.close() db.close()
return user_id return user_id
def get_comment(): def get_comment():
data = pd.read_csv("guanshui", sep='\n') data = pd.read_csv("guanshui", sep='\n')
...@@ -110,7 +117,6 @@ def get_comment(): ...@@ -110,7 +117,6 @@ def get_comment():
return comment return comment
if __name__ == "__main__": if __name__ == "__main__":
numtime=time_conv() numtime=time_conv()
...@@ -125,22 +131,20 @@ if __name__ == "__main__": ...@@ -125,22 +131,20 @@ if __name__ == "__main__":
if num == 0: if num == 0:
# user_id=majia[num] cookies=login()
cookies = index_first()
login(cookies,user=cookies,pwd='')
comment = get_comment() comment = get_comment()
reply(cookies, id, comment) reply(cookies, id, comment)
if num == 1: if num == 1:
# user_id=majia[num] cookies = login()
cookies = index_first()
login(cookies,user=cookies,pwd='')
dz(cookies, id) dz(cookies, id)
comment = get_comment() comment = get_comment()
reply(cookies, id, comment) reply(cookies, id, comment)
......
...@@ -4,11 +4,6 @@ import datetime ...@@ -4,11 +4,6 @@ import datetime
import pymysql import pymysql
import random import random
# cookies = {
# "sessionid": '1',
# }
s = requests.session() s = requests.session()
s.keep_alive = False s.keep_alive = False
...@@ -19,14 +14,23 @@ auto_click_url = "http://earth.igengmei.com/api/v1/like" ...@@ -19,14 +14,23 @@ auto_click_url = "http://earth.igengmei.com/api/v1/like"
login_url = "http://earth.igengmei.com/api/account/login_pwd" login_url = "http://earth.igengmei.com/api/account/login_pwd"
def index_first(): def index_first():
r1=requests.get(login_url) r1=requests.get(login_url)
return r1.cookies.get_dict() return r1.cookies.get_dict()
def login(cookies,user,pwd): def login():
num_majia = random.randint(1, 300)
# user_id=majia[num_majia]
user = 's_PzFznI@shadow.com'
pwd = '123456'
cookies = index_first()
post_dict={ post_dict={
'account_type':2, 'account_type':2,
...@@ -38,8 +42,17 @@ def login(cookies,user,pwd): ...@@ -38,8 +42,17 @@ def login(cookies,user,pwd):
data=post_dict, data=post_dict,
cookies=cookies cookies=cookies
) )
headers=response.headers
cook = headers['Set-Cookie'].split(";")
cook = cook[0].split('=')[1]
print(response.text, 'url') print(response.text, 'url')
return {'sessionid': cook}
def dz(cookies_get, id): def dz(cookies_get, id):
post_dict = { post_dict = {
'type': 1, 'type': 1,
...@@ -51,6 +64,11 @@ def dz(cookies_get, id): ...@@ -51,6 +64,11 @@ def dz(cookies_get, id):
print(response.text, 'url') print(response.text, 'url')
text=response.text
if text[0]['error'] == 1 and text[0]['message']=='\\u5e16\\u5b50\\u5df2\\u4e0b\\u7ebf':
print("该产品已下线")
def time_conv(numtime): def time_conv(numtime):
now = datetime.datetime.now() now = datetime.datetime.now()
...@@ -94,17 +112,7 @@ if __name__ == "__main__": ...@@ -94,17 +112,7 @@ if __name__ == "__main__":
if num_cishu == 1: if num_cishu == 1:
num_majia = random.randint(1, 300) cookies=login()
#user_id=majia[num_majia]
user = 's_PzFznI@shadow.com'
pwd = '123456'
cookies = index_first()
login(cookies,user=user,pwd=pwd)
dz(cookies, id) dz(cookies, id)
......
...@@ -26,24 +26,45 @@ auto_urge_url = "http://earth.igengmei.com/api/v1/user/urge" ...@@ -26,24 +26,45 @@ auto_urge_url = "http://earth.igengmei.com/api/v1/user/urge"
auto_click_url = "http://earth.igengmei.com/api/v1/pick/do_pick" auto_click_url = "http://earth.igengmei.com/api/v1/pick/do_pick"
def index_first(): def index_first():
r1=requests.get(login_url) r1=requests.get(login_url)
return r1.cookies.get_dict() return r1.cookies.get_dict()
def login(cookies,user,pwd): def login():
# time.sleep(random.randint(300, 700))
num_majia = random.randint(1, 300)
cookies = index_first()
# user_id=majia[num]
user = 's_PzFznI@shadow.com'
pwd = '123456'
post_dict={ post_dict={
'account_type':user, 'account_type':2,
'pwd':pwd 'pwd':pwd,
'email':user
} }
response = requests.post( response = requests.post(
url=login_url, url=login_url,
data=post_dict, data=post_dict,
cookies=cookies cookies=cookies
) )
headers=response.headers
cook = headers['Set-Cookie'].split(";")
cook = cook[0].split('=')[1]
print(response.text, 'url') print(response.text, 'url')
return {'sessionid': cook}
def dz(cookies_get, id): def dz(cookies_get, id):
post_dict = { post_dict = {
'type': 1, 'type': 1,
...@@ -134,6 +155,7 @@ def get_star_tieid(numtime): ...@@ -134,6 +155,7 @@ def get_star_tieid(numtime):
return user_id return user_id
if __name__ == "__main__": if __name__ == "__main__":
time_list = [1, 3, 7,10] time_list = [1, 3, 7,10]
...@@ -152,13 +174,7 @@ if __name__ == "__main__": ...@@ -152,13 +174,7 @@ if __name__ == "__main__":
for j in range(num_cishu): for j in range(num_cishu):
time.sleep(random.randint(300,400)) cookies=login()
num_tieid = random.randint(1,300)
# cookies = index_first()
# login(cookies,user=cookies,pwd='')
dz(cookies, id) dz(cookies, id)
...@@ -172,13 +188,7 @@ if __name__ == "__main__": ...@@ -172,13 +188,7 @@ if __name__ == "__main__":
for j in range(num_cishu): for j in range(num_cishu):
time.sleep(random.randint(300, 400)) cookies = login()
num_tieid = random.randint(1, 300)
# cookies = index_first()
# login(cookies,user=cookies,pwd='')
dz(cookies, id) dz(cookies, id)
...@@ -192,13 +202,7 @@ if __name__ == "__main__": ...@@ -192,13 +202,7 @@ if __name__ == "__main__":
for j in range(num_cishu): for j in range(num_cishu):
time.sleep(random.randint(300, 400)) cookies = login()
num_userid = random.randint(1, 300)
# cookies = index_first()
# login(cookies,user=cookies,pwd='')
follow(cookies, id) follow(cookies, id)
......
...@@ -17,8 +17,19 @@ def index_first(): ...@@ -17,8 +17,19 @@ def index_first():
return r1.cookies.get_dict() return r1.cookies.get_dict()
def login():
def login(cookies,user,pwd): # time.sleep(random.randint(300, 700))
num_majia = random.randint(1, 300)
cookies = index_first()
# user_id=majia[num]
user = 's_PzFznI@shadow.com'
pwd = '123456'
post_dict={ post_dict={
'account_type':2, 'account_type':2,
...@@ -39,8 +50,7 @@ def login(cookies,user,pwd): ...@@ -39,8 +50,7 @@ def login(cookies,user,pwd):
print(response.text, 'url') print(response.text, 'url')
return cook return {'sessionid': cook}
def reply(cookies_get,id,content): def reply(cookies_get,id,content):
post_dict={ post_dict={
...@@ -51,8 +61,13 @@ def reply(cookies_get,id,content): ...@@ -51,8 +61,13 @@ def reply(cookies_get,id,content):
cookies=cookies_get, cookies=cookies_get,
data=post_dict) data=post_dict)
print(response.text,'url') 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): def time_conv(numtime):
...@@ -61,7 +76,6 @@ def time_conv(numtime): ...@@ -61,7 +76,6 @@ def time_conv(numtime):
yes_time_str=yes_time.strftime('%Y-%m-%d') yes_time_str=yes_time.strftime('%Y-%m-%d')
return yes_time_str return yes_time_str
def get_data(numtime): def get_data(numtime):
db = pymysql.connect(host="rm-2ze5k2we69904787l.mysql.rds.aliyuncs.com", user='work', passwd='Gengmei123', db="alpha", port=3306) db = pymysql.connect(host="rm-2ze5k2we69904787l.mysql.rds.aliyuncs.com", user='work', passwd='Gengmei123', db="alpha", port=3306)
...@@ -70,11 +84,12 @@ def get_data(numtime): ...@@ -70,11 +84,12 @@ def get_data(numtime):
cursor.execute("SELECT id FROM topic WHERE create_time LIKE '%%%%%s%%%%' " %numtime) cursor.execute("SELECT id FROM topic WHERE create_time LIKE '%%%%%s%%%%' " %numtime)
data = cursor.fetchall() data = cursor.fetchall()
user_id = list(data) user_id = list(data)
print("Database version : %s " % user_id) print("Database version : %s " % user_id)
db.close() db.close()
return user_id
return user_id
def get_comment(): def get_comment():
...@@ -89,7 +104,6 @@ def get_comment(): ...@@ -89,7 +104,6 @@ def get_comment():
return comment return comment
if __name__ == "__main__": if __name__ == "__main__":
time_list = [1, 3, 5, 7] time_list = [1, 3, 5, 7]
...@@ -106,15 +120,7 @@ if __name__ == "__main__": ...@@ -106,15 +120,7 @@ if __name__ == "__main__":
id = int(j[0]) id = int(j[0])
time.sleep(random.randint(300,700)) cookies=login()
num_majia = random.randint(1, 300)
#user_id=majia[num]
cookies = index_first()
cookies=login(cookies,user=cookies,pwd='')
comment = get_comment() comment = get_comment()
......
...@@ -24,18 +24,40 @@ def index_first(): ...@@ -24,18 +24,40 @@ def index_first():
r1=requests.get(login_url) r1=requests.get(login_url)
return r1.cookies.get_dict() return r1.cookies.get_dict()
def login(cookies,user,pwd): def login():
time.sleep(random.randint(300, 500))
num_majia = random.randint(1, 300)
# user_id=majia[num_majia]
user = 's_PzFznI@shadow.com'
pwd = '123456'
cookies = index_first()
post_dict={ post_dict={
'account_type':user, 'account_type':2,
'pwd':pwd 'pwd':pwd,
'email':user
} }
response = requests.post( response = requests.post(
url=login_url, url=login_url,
data=post_dict, data=post_dict,
cookies=cookies cookies=cookies
) )
headers=response.headers
cook = headers['Set-Cookie'].split(";")
cook = cook[0].split('=')[1]
print(response.text, 'url') print(response.text, 'url')
return {'sessionid': cook}
def follow(cookies_get, id): def follow(cookies_get, id):
post_dict = { post_dict = {
...@@ -48,7 +70,6 @@ def follow(cookies_get, id): ...@@ -48,7 +70,6 @@ def follow(cookies_get, id):
print(response.text, 'url') print(response.text, 'url')
def time_conv(numtime): def time_conv(numtime):
now = datetime.datetime.now() now = datetime.datetime.now()
yes_time = now - datetime.timedelta(days=numtime) yes_time = now - datetime.timedelta(days=numtime)
...@@ -56,7 +77,6 @@ def time_conv(numtime): ...@@ -56,7 +77,6 @@ def time_conv(numtime):
print(now) print(now)
return yes_time_str return yes_time_str
def get_data(numtime): def get_data(numtime):
db = pymysql.connect(host="rm-2ze5k2we69904787l.mysql.rds.aliyuncs.com", user='work', passwd='Gengmei123', db = pymysql.connect(host="rm-2ze5k2we69904787l.mysql.rds.aliyuncs.com", user='work', passwd='Gengmei123',
db="alpha", port=3306) db="alpha", port=3306)
...@@ -144,15 +164,7 @@ if __name__ == "__main__": ...@@ -144,15 +164,7 @@ if __name__ == "__main__":
for i in range(num_cishu): for i in range(num_cishu):
time.sleep(random.randint(300, 500)) cookies=login()
num_majia = random.randint(300)
# user_id=majia[num]
# cookies = index_first()
# login(cookies,user=cookies,pwd='')
follow(cookies, id) follow(cookies, id)
...@@ -172,15 +184,7 @@ if __name__ == "__main__": ...@@ -172,15 +184,7 @@ if __name__ == "__main__":
for i in range(num_cishu): for i in range(num_cishu):
time.sleep(random.randint(300, 500)) cookies = login()
num_majia = random.randint(300)
#user_id=majia[num]
# cookies = index_first()
# login(cookies,user=cookies,pwd='')
follow(cookies, id) follow(cookies, id)
......
...@@ -22,18 +22,39 @@ def index_first(): ...@@ -22,18 +22,39 @@ def index_first():
r1=requests.get(login_url) r1=requests.get(login_url)
return r1.cookies.get_dict() return r1.cookies.get_dict()
def login(cookies,user,pwd): def login():
num_majia = random.randint(1, 300)
# user_id=majia[num_majia]
user = 's_PzFznI@shadow.com'
pwd = '123456'
cookies = index_first()
post_dict={ post_dict={
'account_type':user, 'account_type':2,
'pwd':pwd 'pwd':pwd,
'email':user
} }
response = requests.post( response = requests.post(
url=login_url, url=login_url,
data=post_dict, data=post_dict,
cookies=cookies cookies=cookies
) )
headers=response.headers
cook = headers['Set-Cookie'].split(";")
cook = cook[0].split('=')[1]
print(response.text, 'url') print(response.text, 'url')
return {'sessionid': cook}
def follow(cookies_get, id): def follow(cookies_get, id):
post_dict = { post_dict = {
'type': 1, 'type': 1,
...@@ -87,11 +108,7 @@ if __name__ == "__main__": ...@@ -87,11 +108,7 @@ if __name__ == "__main__":
for key,value in dict.items(): for key,value in dict.items():
#user_id=majia[key] cookies=login()
# cookies = index_first()
# login(cookies,user=user_id,pwd='')
for id in value: for id in value:
......
...@@ -4,36 +4,48 @@ import datetime ...@@ -4,36 +4,48 @@ import datetime
import pymysql import pymysql
import random import random
cookies = {
"sessionid": '1',
}
auto_click_url = "http://earth.igengmei.com/api/v1/pick/do_pick" auto_click_url = "http://earth.igengmei.com/api/v1/pick/do_pick"
login_url = "http://earth.igengmei.com/api/account/login_pwd" login_url = "http://earth.igengmei.com/api/account/login_pwd"
def index_first(): def index_first():
r1=requests.get(login_url) r1=requests.get(login_url)
return r1.cookies.get_dict() return r1.cookies.get_dict()
def login():
num_majia = random.randint(1, 300)
# user_id=majia[num_majia]
def login(cookies,user,pwd): user = 's_PzFznI@shadow.com'
pwd = '123456'
cookies = index_first()
post_dict={ post_dict={
'account_type':user, 'account_type':2,
'pwd':pwd 'pwd':pwd,
'email':user
} }
response=requests.post( response = requests.post(
url=login_url, url=login_url,
data=post_dict, data=post_dict,
cookies=cookies cookies=cookies
) )
print(response.text,'url')
headers=response.headers
cook = headers['Set-Cookie'].split(";")
cook = cook[0].split('=')[1]
print(response.text, 'url')
return {'sessionid': cook}
def pick(cookies_get,id,content): def pick(cookies_get,id,content):
post_dict={ post_dict={
...@@ -119,15 +131,7 @@ if __name__ == "__main__": ...@@ -119,15 +131,7 @@ if __name__ == "__main__":
for i in range(num_cishu): for i in range(num_cishu):
time.sleep(random.randint(300, 500)) cookies=login()
num_userid = random.randint(300)
#user_id=majia[num]
# cookies = index_first()
# login(cookies,user=cookies,pwd='')
pick(cookies, id) pick(cookies, id)
...@@ -144,15 +148,7 @@ if __name__ == "__main__": ...@@ -144,15 +148,7 @@ if __name__ == "__main__":
if i == j : if i == j :
# time.sleep(random.randint(300, 500)) cookies=login(cookies,user=cookies,pwd='')
num_userid = random.randint(300)
# user_id=majia[num]
# cookies = index_first()
# login(cookies,user=cookies,pwd='')
pick(cookies, id) pick(cookies, id)
......
...@@ -27,18 +27,38 @@ def index_first(): ...@@ -27,18 +27,38 @@ def index_first():
return r1.cookies.get_dict() return r1.cookies.get_dict()
def login(cookies,user,pwd): def login():
num_majia = random.randint(1, 300)
# user_id=majia[num_majia]
user = 's_PzFznI@shadow.com'
pwd = '123456'
cookies = index_first()
post_dict={ post_dict={
'account_type':user, 'account_type':2,
'pwd':pwd 'pwd':pwd,
'email':user
} }
response = requests.post( response = requests.post(
url=login_url, url=login_url,
data=post_dict, data=post_dict,
cookies=cookies cookies=cookies
) )
headers=response.headers
cook = headers['Set-Cookie'].split(";")
cook = cook[0].split('=')[1]
print(response.text, 'url') print(response.text, 'url')
return {'sessionid': cook}
def Urge(cookies_get, id,comment): def Urge(cookies_get, id,comment):
post_dict = { post_dict = {
...@@ -51,7 +71,6 @@ def Urge(cookies_get, id,comment): ...@@ -51,7 +71,6 @@ def Urge(cookies_get, id,comment):
print(response.text, 'url') print(response.text, 'url')
def time_conv(numtime): def time_conv(numtime):
now = datetime.datetime.now() now = datetime.datetime.now()
yes_time = now - datetime.timedelta(days=numtime) yes_time = now - datetime.timedelta(days=numtime)
...@@ -59,7 +78,6 @@ def time_conv(numtime): ...@@ -59,7 +78,6 @@ def time_conv(numtime):
print(now) print(now)
return yes_time_str return yes_time_str
def get_data(numtime): def get_data(numtime):
db = pymysql.connect(host="rm-2ze5k2we69904787l.mysql.rds.aliyuncs.com", user='work', passwd='Gengmei123', db = pymysql.connect(host="rm-2ze5k2we69904787l.mysql.rds.aliyuncs.com", user='work', passwd='Gengmei123',
...@@ -72,7 +90,6 @@ def get_data(numtime): ...@@ -72,7 +90,6 @@ def get_data(numtime):
user_id = list(data) user_id = list(data)
print("Database version : %s " % user_id) print("Database version : %s " % user_id)
db.close() db.close()
...@@ -104,13 +121,7 @@ if __name__ == "__main__": ...@@ -104,13 +121,7 @@ if __name__ == "__main__":
elif num_cishu == 1 : elif num_cishu == 1 :
num_majia = random.randint(1, 300) login()
#user_id=majia[num]
# cookies = index_first()
# login(cookies,user=cookies,pwd='')
Urge(cookies, id) Urge(cookies, id)
...@@ -118,13 +129,7 @@ if __name__ == "__main__": ...@@ -118,13 +129,7 @@ if __name__ == "__main__":
for i in range(num_cishu): for i in range(num_cishu):
num_majia = random.randint(0, 300) cookies=login()
#user_id=majia[num]
# cookies = index_first()
# login(cookies,user=cookies,pwd='')
Urge(cookies, id) Urge(cookies, id)
......
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