Commit 9c0bd0c3 authored by lixiaofang's avatar lixiaofang

hh

parent 7eaf54c5
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,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="73" /> <entry key="py" value="74" />
<entry key="xuqiu" value="3" /> <entry key="xuqiu" value="3" />
</counts> </counts>
</usages-collector> </usages-collector>
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,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="73" /> <entry key="Python" value="74" />
</counts> </counts>
</usages-collector> </usages-collector>
<usages-collector id="statistics.file.extensions.edit"> <usages-collector id="statistics.file.extensions.edit">
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,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="3172" /> <entry key="py" value="3186" />
<entry key="unr_data" value="1" /> <entry key="unr_data" value="1" />
<entry key="xuqiu" value="1" /> <entry key="xuqiu" value="1" />
</counts> </counts>
...@@ -86,42 +86,30 @@ ...@@ -86,42 +86,30 @@
<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="3172" /> <entry key="Python" value="3186" />
</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"> <file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/aotu_at_once.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="376"> <state relative-caret-position="1677">
<caret line="115" column="33" selection-start-line="115" selection-start-column="33" selection-end-line="115" selection-end-column="33" /> <caret line="119" column="16" lean-forward="true" selection-start-line="119" selection-start-column="16" selection-end-line="119" selection-end-column="16" />
<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#446#959#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#2727#3295#0" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
</file> </file>
<file pinned="false" current-in-tab="true"> <file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/auto_commnet.py"> <entry file="file://$PROJECT_DIR$/auto_click.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="160"> <state relative-caret-position="317">
<caret line="116" lean-forward="true" selection-start-line="116" selection-end-line="116" /> <caret line="113" column="23" lean-forward="true" selection-start-line="113" selection-start-column="23" selection-end-line="113" selection-end-column="23" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#249#309#0" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
...@@ -148,20 +136,20 @@ ...@@ -148,20 +136,20 @@
<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_start_up.py" /> <option value="$PROJECT_DIR$/auto_start_up.py" />
<option value="$PROJECT_DIR$/auto_click.py" />
<option value="$PROJECT_DIR$/auto_urge.py" /> <option value="$PROJECT_DIR$/auto_urge.py" />
<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_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_click.py" />
<option value="$PROJECT_DIR$/auto_commnet.py" /> <option value="$PROJECT_DIR$/auto_commnet.py" />
</list> </list>
</option> </option>
</component> </component>
<component name="ProjectFrameBounds"> <component name="ProjectFrameBounds">
<option name="x" value="282" /> <option name="x" value="114" />
<option name="y" value="35" /> <option name="y" value="74" />
<option name="width" value="1280" /> <option name="width" value="1280" />
<option name="height" value="725" /> <option name="height" value="725" />
</component> </component>
...@@ -273,7 +261,7 @@ ...@@ -273,7 +261,7 @@
<servers /> <servers />
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="282" y="35" width="1280" height="725" extended-state="0" /> <frame x="114" y="74" width="1280" height="725" extended-state="0" />
<layout> <layout>
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.17791899" /> <window_info 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" />
...@@ -329,6 +317,21 @@ ...@@ -329,6 +317,21 @@
<line>62</line> <line>62</line>
<option name="timeStamp" value="27" /> <option name="timeStamp" value="27" />
</line-breakpoint> </line-breakpoint>
<line-breakpoint enabled="true" suspend="THREAD" type="python-line">
<url>file://$PROJECT_DIR$/aotu_at_once.py</url>
<line>63</line>
<option name="timeStamp" value="32" />
</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="33" />
</line-breakpoint>
<line-breakpoint enabled="true" suspend="THREAD" type="python-line">
<url>file://$PROJECT_DIR$/auto_click.py</url>
<line>22</line>
<option name="timeStamp" value="34" />
</line-breakpoint>
</breakpoints> </breakpoints>
</breakpoint-manager> </breakpoint-manager>
</component> </component>
...@@ -478,41 +481,35 @@ ...@@ -478,41 +481,35 @@
</state> </state>
</provider> </provider>
</entry> </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>
</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="376"> <state relative-caret-position="-34">
<caret line="115" column="33" selection-start-line="115" selection-start-column="33" selection-end-line="115" selection-end-column="33" /> <caret line="63" selection-start-line="63" selection-end-line="63" />
<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#446#959#0" />
<element signature="e#736#969#0" /> <element signature="e#736#969#0" />
<element signature="e#1001#1233#0" /> <element signature="e#1013#1056#0" />
<element signature="e#1275#1501#0" />
<element signature="e#1526#1621#0" />
<element signature="e#1652#2079#0" /> <element signature="e#1652#2079#0" />
<element signature="e#2727#3295#0" /> <element signature="e#2727#3295#0" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/auto_click.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="317">
<caret line="113" column="23" lean-forward="true" selection-start-line="113" selection-start-column="23" selection-end-line="113" selection-end-column="23" />
</state>
</provider>
</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="160"> <state relative-caret-position="1677">
<caret line="116" lean-forward="true" selection-start-line="116" selection-end-line="116" /> <caret line="119" column="16" lean-forward="true" selection-start-line="119" selection-start-column="16" selection-end-line="119" selection-end-column="16" />
<folding> <folding>
<element signature="e#0#15#0" expanded="true" /> <element signature="e#0#15#0" expanded="true" />
<element signature="e#249#309#0" />
</folding> </folding>
</state> </state>
</provider> </provider>
......
...@@ -20,7 +20,7 @@ def index_first(): ...@@ -20,7 +20,7 @@ def index_first():
return r1.cookies.get_dict() return r1.cookies.get_dict()
def login(): def login(cookies,user,pwd):
post_dict={ post_dict={
'account_type':2, 'account_type':2,
...@@ -41,9 +41,12 @@ def login(): ...@@ -41,9 +41,12 @@ def login():
print(response.text, 'url') print(response.text, 'url')
print(cook)
return {'sessionid': cook} return {'sessionid': cook}
def dz(cookies_get, id): def dz(cookies_get, id):
post_dict = { post_dict = {
'type': 1, 'type': 1,
'id': id 'id': id
...@@ -54,14 +57,12 @@ def dz(cookies_get, id): ...@@ -54,14 +57,12 @@ def dz(cookies_get, id):
print(response.text, 'url') print(response.text, 'url')
text=response.text
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)
yes_time_str = yes_time.strftime('%Y-%m-%d') yes_time_str = yes_time.strftime('%Y-%m-%d')
print(now)
return yes_time_str return yes_time_str
def get_data(numtime): def get_data(numtime):
......
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