Commit cf4adee0 authored by lixiaofang's avatar lixiaofang

hh

parent 322b46ac
...@@ -3,13 +3,7 @@ ...@@ -3,13 +3,7 @@
<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$/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" />
...@@ -70,7 +64,7 @@ ...@@ -70,7 +64,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="72" /> <entry key="py" value="73" />
<entry key="xuqiu" value="3" /> <entry key="xuqiu" value="3" />
</counts> </counts>
</usages-collector> </usages-collector>
...@@ -78,7 +72,7 @@ ...@@ -78,7 +72,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="72" /> <entry key="Python" value="73" />
</counts> </counts>
</usages-collector> </usages-collector>
<usages-collector id="statistics.file.extensions.edit"> <usages-collector id="statistics.file.extensions.edit">
...@@ -87,7 +81,7 @@ ...@@ -87,7 +81,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="3131" /> <entry key="py" value="3141" />
<entry key="unr_data" value="1" /> <entry key="unr_data" value="1" />
<entry key="xuqiu" value="1" /> <entry key="xuqiu" value="1" />
</counts> </counts>
...@@ -95,27 +89,41 @@ ...@@ -95,27 +89,41 @@
<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="3131" /> <entry key="Python" value="3141" />
</counts> </counts>
</usages-collector> </usages-collector>
</session> </session>
</component> </component>
<component name="FileEditorManager"> <component name="FileEditorManager">
<leaf> <leaf>
<file pinned="false" current-in-tab="true"> <file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/aotu_at_once.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="173"> <state relative-caret-position="376">
<caret line="19" column="12" selection-start-line="19" selection-start-column="12" selection-end-line="19" selection-end-column="12" /> <caret line="115" column="33" selection-start-line="115" selection-start-column="33" selection-end-line="115" selection-end-column="33" />
<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#403#463#0" />
<element signature="e#446#959#0" />
<element signature="e#736#969#0" /> <element signature="e#736#969#0" />
<element signature="e#1001#1233#0" /> <element signature="e#1001#1233#0" />
<element signature="e#1275#1501#0" /> <element signature="e#1275#1501#0" />
<element signature="e#1526#1621#0" /> <element signature="e#1526#1621#0" />
<element signature="e#1652#2079#0" /> <element signature="e#1652#2079#0" />
<element signature="e#2106#2359#0" /> <element signature="e#2727#3295#0" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/auto_commnet.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="394">
<caret line="55" column="34" lean-forward="true" selection-start-line="55" selection-start-column="34" selection-end-line="55" selection-end-column="34" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#249#309#0" />
</folding> </folding>
</state> </state>
</provider> </provider>
...@@ -148,15 +156,15 @@ ...@@ -148,15 +156,15 @@
<option value="$PROJECT_DIR$/auto_pick.py" /> <option value="$PROJECT_DIR$/auto_pick.py" />
<option value="$PROJECT_DIR$/auto_follow_majia.py" /> <option value="$PROJECT_DIR$/auto_follow_majia.py" />
<option value="$PROJECT_DIR$/auto_follow.py" /> <option value="$PROJECT_DIR$/auto_follow.py" />
<option value="$PROJECT_DIR$/auto_commnet.py" />
<option value="$PROJECT_DIR$/auto_click_star.py" /> <option value="$PROJECT_DIR$/auto_click_star.py" />
<option value="$PROJECT_DIR$/aotu_at_once.py" /> <option value="$PROJECT_DIR$/aotu_at_once.py" />
<option value="$PROJECT_DIR$/auto_commnet.py" />
</list> </list>
</option> </option>
</component> </component>
<component name="ProjectFrameBounds" extendedState="1"> <component name="ProjectFrameBounds">
<option name="x" value="140" /> <option name="x" value="176" />
<option name="y" value="23" /> <option name="y" value="53" />
<option name="width" value="1280" /> <option name="width" value="1280" />
<option name="height" value="725" /> <option name="height" value="725" />
</component> </component>
...@@ -268,7 +276,7 @@ ...@@ -268,7 +276,7 @@
<servers /> <servers />
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="140" y="23" width="1280" height="725" extended-state="1" /> <frame x="176" y="53" width="1280" height="725" extended-state="0" />
<editor active="true" /> <editor active="true" />
<layout> <layout>
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.17791899" /> <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.17791899" />
...@@ -276,13 +284,13 @@ ...@@ -276,13 +284,13 @@
<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" visible="true" weight="0.0" /> <window_info anchor="bottom" id="Run" order="2" 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 anchor="bottom" id="Terminal" order="8" weight="0.16587678" /> <window_info anchor="bottom" id="Terminal" order="8" visible="true" weight="0.0" />
<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" />
...@@ -320,11 +328,6 @@ ...@@ -320,11 +328,6 @@
<line>58</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">
<url>file://$PROJECT_DIR$/aotu_at_once.py</url>
<line>91</line>
<option name="timeStamp" value="21" />
</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_follow.py</url> <url>file://$PROJECT_DIR$/auto_follow.py</url>
<line>62</line> <line>62</line>
...@@ -489,30 +492,31 @@ ...@@ -489,30 +492,31 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/auto_commnet.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="90">
<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"> <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="173"> <state relative-caret-position="376">
<caret line="19" column="12" selection-start-line="19" selection-start-column="12" selection-end-line="19" selection-end-column="12" /> <caret line="115" column="33" selection-start-line="115" selection-start-column="33" selection-end-line="115" selection-end-column="33" />
<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#403#463#0" />
<element signature="e#446#959#0" />
<element signature="e#736#969#0" /> <element signature="e#736#969#0" />
<element signature="e#1001#1233#0" /> <element signature="e#1001#1233#0" />
<element signature="e#1275#1501#0" /> <element signature="e#1275#1501#0" />
<element signature="e#1526#1621#0" /> <element signature="e#1526#1621#0" />
<element signature="e#1652#2079#0" /> <element signature="e#1652#2079#0" />
<element signature="e#2106#2359#0" /> <element signature="e#2727#3295#0" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/auto_commnet.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="394">
<caret line="55" column="34" lean-forward="true" selection-start-line="55" selection-start-column="34" selection-end-line="55" selection-end-column="34" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#249#309#0" />
</folding> </folding>
</state> </state>
</provider> </provider>
......
...@@ -113,7 +113,7 @@ def get_comment(): ...@@ -113,7 +113,7 @@ def get_comment():
l = i.split('\t') l = i.split('\t')
list_guanshui.append(l[0]) list_guanshui.append(l[0])
comment = list_guanshui[num] comment = list_guanshui[num-1]
return comment return comment
......
...@@ -17,21 +17,10 @@ def index_first(): ...@@ -17,21 +17,10 @@ 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,
'pwd':pwd, 'pwd':pwd,
'email':user 'email':user
...@@ -57,7 +46,7 @@ def reply(cookies_get,id,content): ...@@ -57,7 +46,7 @@ def reply(cookies_get,id,content):
'topic_id':id, 'topic_id':id,
'content':content 'content':content
} }
response=requests.get(url=auto_click_url, response=requests.post(url=auto_click_url,
cookies=cookies_get, cookies=cookies_get,
data=post_dict) data=post_dict)
...@@ -100,7 +89,7 @@ def get_comment(): ...@@ -100,7 +89,7 @@ def get_comment():
l = i.split('\t') l = i.split('\t')
list_guanshui.append(l[0]) list_guanshui.append(l[0])
comment = list_guanshui[num] comment = list_guanshui[num-1]
return comment return comment
...@@ -120,7 +109,19 @@ if __name__ == "__main__": ...@@ -120,7 +109,19 @@ if __name__ == "__main__":
id = int(j[0]) id = int(j[0])
cookies=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'
cookies=login(cookies,user,pwd)
comment = get_comment() comment = get_comment()
......
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