Commit 8e2c30d2 by zhangjingdong

修改脚本

parent 7c9e08d6
...@@ -2,43 +2,7 @@ ...@@ -2,43 +2,7 @@
<project version="4"> <project version="4">
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="243b24f3-3df7-4c72-bf73-8de81d5ca458" name="Default" comment=""> <list default="true" id="243b24f3-3df7-4c72-bf73-8de81d5ca458" name="Default" comment="">
<change afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" /> <change beforePath="$PROJECT_DIR$/碧合app/execute_automation_scripts.py" beforeDir="false" afterPath="$PROJECT_DIR$/碧合app/execute_automation_scripts.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/App热线/App热线.postman_collection.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/App热线/App热线_manage.postman_environment.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/专享服务/专享-服务_manage.postman_environment.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/专享服务/专享服务.postman_collection.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/人脸授权/人脸授权.postman_collection.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/人脸授权/人脸授权_manage.postman_environment.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/体育场预订/-体育场预订_manage.postman_environment.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/体育场预订/体育场预订.postman_collection.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/便民服务/便民服务.postman_collection.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/便民服务/便民服务_manage.postman_environment.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/公共评论/公共评论.postman_collection.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/公共评论/公共评论_manage.postman_environment.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/娱乐场预定/娱乐场预定.postman_collection.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/娱乐场预定/娱乐场预定_manage.postman_environment.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/定时切换/定时切换.postman_collection.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/定时切换/定时切换_manage.postman_environment.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/应用属性/应用属性.postman_collection.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/应用属性/应用属性_manage.postman_environment.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/张贴栏/张贴栏.postman_collection.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/张贴栏/张贴栏_manage.postman_environment.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/意见反馈/意见反馈.postman_collection.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/意见反馈/意见反馈_manage.postman_environment.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/我是业主/我是业主.postman_collection.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/我是业主/我是业主_manage.postman_environment.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/我的企业/我的企业.postman_collection.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/我的企业/我的企业_manage.postman_environment.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/服务-获取外置小程序接口/服务-获取外置小程序接口_manage.postman_environment.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/服务-获取外置小程序接口/服务-获取外置小程序接口(临时)共 (1) 个.postman_collection.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/用户模块/用户模块.postman_collection.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/用户模块/用户模块_manage.postman_environment.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/账号相关/账号相关.postman_collection.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/账号相关/账号相关_manage.postman_environment.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/软文管理/软文管理.postman_collection.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/软文管理/软文管理_manage.postman_environment.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/项目管理/项目管理.postman_collection.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/碧合app/项目管理/项目管理_manage.postman_environment.json" afterDir="false" />
</list> </list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="TRACKING_ENABLED" value="true" /> <option name="TRACKING_ENABLED" value="true" />
...@@ -56,20 +20,20 @@ ...@@ -56,20 +20,20 @@
</component> </component>
<component name="FileEditorManager"> <component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300"> <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file leaf-file-name="execute_automation_scripts.py" pinned="false" current-in-tab="false"> <file leaf-file-name="execute_automation_scripts.py" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/碧合app/execute_automation_scripts.py"> <entry file="file://$PROJECT_DIR$/碧合app/execute_automation_scripts.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1675"> <state relative-caret-position="18">
<caret line="95" column="38" selection-start-line="95" selection-start-column="38" selection-end-line="95" selection-end-column="38" /> <caret line="1" lean-forward="true" selection-start-line="1" selection-end-line="1" />
<folding> <folding>
<element signature="e#18#47#0" expanded="true" /> <element signature="e#19#30#0" expanded="true" />
<marker date="1547195688458" expanded="true" signature="2737:3711" ph="..." /> <marker date="1547197182213" expanded="true" signature="2693:3667" ph="..." />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name=".gitignore" pinned="false" current-in-tab="true"> <file leaf-file-name=".gitignore" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/.gitignore"> <entry file="file://$PROJECT_DIR$/.gitignore">
<provider selected="true" editor-type-id="text-editor" /> <provider selected="true" editor-type-id="text-editor" />
</entry> </entry>
...@@ -305,6 +269,7 @@ ...@@ -305,6 +269,7 @@
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="0" y="0" width="1440" height="900" extended-state="0" /> <frame x="0" y="0" width="1440" height="900" extended-state="0" />
<editor active="true" />
<layout> <layout>
<window_info anchor="bottom" id="TODO" order="6" weight="0.32969698" /> <window_info anchor="bottom" id="TODO" order="6" weight="0.32969698" />
<window_info anchor="bottom" id="Event Log" order="7" side_tool="true" /> <window_info anchor="bottom" id="Event Log" order="7" side_tool="true" />
...@@ -400,8 +365,8 @@ ...@@ -400,8 +365,8 @@
<state relative-caret-position="162"> <state relative-caret-position="162">
<caret line="10" column="49" lean-forward="true" selection-start-line="10" selection-start-column="49" selection-end-line="10" selection-end-column="49" /> <caret line="10" column="49" lean-forward="true" selection-start-line="10" selection-start-column="49" selection-end-line="10" selection-end-column="49" />
<folding> <folding>
<element signature="e#18#47#0" expanded="true" /> <element signature="e#19#30#0" expanded="true" />
<marker date="1547195688458" expanded="true" signature="2737:3711" ph="..." /> <marker date="1547197182213" expanded="true" signature="2693:3667" ph="..." />
</folding> </folding>
</state> </state>
</provider> </provider>
...@@ -453,8 +418,8 @@ ...@@ -453,8 +418,8 @@
<state relative-caret-position="198"> <state relative-caret-position="198">
<caret line="11" column="49" lean-forward="true" selection-start-line="11" selection-start-column="49" selection-end-line="11" selection-end-column="49" /> <caret line="11" column="49" lean-forward="true" selection-start-line="11" selection-start-column="49" selection-end-line="11" selection-end-column="49" />
<folding> <folding>
<element signature="e#18#47#0" expanded="true" /> <element signature="e#19#30#0" expanded="true" />
<marker date="1547195688458" expanded="true" signature="2737:3711" ph="..." /> <marker date="1547197182213" expanded="true" signature="2693:3667" ph="..." />
</folding> </folding>
</state> </state>
</provider> </provider>
...@@ -470,8 +435,8 @@ ...@@ -470,8 +435,8 @@
<state relative-caret-position="270"> <state relative-caret-position="270">
<caret line="15" column="32" lean-forward="true" selection-start-line="15" selection-start-column="32" selection-end-line="15" selection-end-column="32" /> <caret line="15" column="32" lean-forward="true" selection-start-line="15" selection-start-column="32" selection-end-line="15" selection-end-column="32" />
<folding> <folding>
<element signature="e#18#47#0" expanded="true" /> <element signature="e#19#30#0" expanded="true" />
<marker date="1547195688458" expanded="true" signature="2737:3711" ph="..." /> <marker date="1547197182213" expanded="true" signature="2693:3667" ph="..." />
</folding> </folding>
</state> </state>
</provider> </provider>
...@@ -488,8 +453,8 @@ ...@@ -488,8 +453,8 @@
<state relative-caret-position="234"> <state relative-caret-position="234">
<caret line="14" column="25" selection-start-line="14" selection-start-column="25" selection-end-line="14" selection-end-column="25" /> <caret line="14" column="25" selection-start-line="14" selection-start-column="25" selection-end-line="14" selection-end-column="25" />
<folding> <folding>
<element signature="e#18#47#0" expanded="true" /> <element signature="e#19#30#0" expanded="true" />
<marker date="1547195688458" expanded="true" signature="2737:3711" ph="..." /> <marker date="1547197182213" expanded="true" signature="2693:3667" ph="..." />
</folding> </folding>
</state> </state>
</provider> </provider>
...@@ -511,8 +476,8 @@ ...@@ -511,8 +476,8 @@
<state relative-caret-position="144"> <state relative-caret-position="144">
<caret line="8" column="8" lean-forward="true" selection-start-line="8" selection-start-column="8" selection-end-line="8" selection-end-column="8" /> <caret line="8" column="8" lean-forward="true" selection-start-line="8" selection-start-column="8" selection-end-line="8" selection-end-column="8" />
<folding> <folding>
<element signature="e#18#47#0" expanded="true" /> <element signature="e#19#30#0" expanded="true" />
<marker date="1547195688458" expanded="true" signature="2737:3711" ph="..." /> <marker date="1547197182213" expanded="true" signature="2693:3667" ph="..." />
</folding> </folding>
</state> </state>
</provider> </provider>
...@@ -606,19 +571,19 @@ ...@@ -606,19 +571,19 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/.gitignore">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/碧合app/execute_automation_scripts.py"> <entry file="file://$PROJECT_DIR$/碧合app/execute_automation_scripts.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1675"> <state relative-caret-position="18">
<caret line="95" column="38" selection-start-line="95" selection-start-column="38" selection-end-line="95" selection-end-column="38" /> <caret line="1" lean-forward="true" selection-start-line="1" selection-end-line="1" />
<folding> <folding>
<element signature="e#18#47#0" expanded="true" /> <element signature="e#19#30#0" expanded="true" />
<marker date="1547195688458" expanded="true" signature="2737:3711" ph="..." /> <marker date="1547197182213" expanded="true" signature="2693:3667" ph="..." />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/.gitignore">
<provider selected="true" editor-type-id="text-editor" />
</entry>
</component> </component>
</project> </project>
\ No newline at end of file
# coding = utf-8 # coding = utf-8
# coding = utf-8 # coding = utf-8
from bs4 import BeautifulSoup
import time import time
import os import os
...@@ -17,8 +16,7 @@ class PostmanApi(): ...@@ -17,8 +16,7 @@ class PostmanApi():
""" """
:param s: :param s:
:param endstring: :param endstring:
:return: :return
筛选文件
""" """
array = map(s.endswith, endstring) array = map(s.endswith, endstring)
if True in array: if True in array:
......
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 sign in to comment