完成项目的基本构建

master
yangxudongll 5 years ago
parent a45369f8ca
commit 12c5820631

@ -1,18 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="fcea9d71-f4b2-41ab-b680-ecae8402b966" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/../国内疫情信息.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/../国外疫情.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/../国外疫情概况.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/DataFrame.py" beforeDir="false" afterPath="$PROJECT_DIR$/DataFrame.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/GrapData.py" beforeDir="false" afterPath="$PROJECT_DIR$/GrapData.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Grapmain.py" beforeDir="false" afterPath="$PROJECT_DIR$/Grapmain.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/html.txt" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/html1.txt" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/xinguan.sql" beforeDir="false" afterPath="$PROJECT_DIR$/xinguan.sql" afterDir="false" />
</list>
<list default="true" id="fcea9d71-f4b2-41ab-b680-ecae8402b966" name="Default Changelist" comment="" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@ -91,30 +80,30 @@
<screen x="67" y="27" width="1853" height="1053" />
</state>
<state x="704" y="108" width="624" height="753" key="FileChooserDialogImpl/67.27.1853.1053@67.27.1853.1053" timestamp="1596679790740" />
<state width="1814" height="398" key="GridCell.Tab.0.bottom" timestamp="1596968402616">
<state width="1814" height="398" key="GridCell.Tab.0.bottom" timestamp="1596968618945">
<screen x="67" y="27" width="1853" height="1053" />
</state>
<state width="1814" height="398" key="GridCell.Tab.0.bottom/67.27.1853.1053@67.27.1853.1053" timestamp="1596968402616" />
<state width="1814" height="398" key="GridCell.Tab.0.center" timestamp="1596968402615">
<state width="1814" height="398" key="GridCell.Tab.0.bottom/67.27.1853.1053@67.27.1853.1053" timestamp="1596968618945" />
<state width="1814" height="398" key="GridCell.Tab.0.center" timestamp="1596968618944">
<screen x="67" y="27" width="1853" height="1053" />
</state>
<state width="1814" height="398" key="GridCell.Tab.0.center/67.27.1853.1053@67.27.1853.1053" timestamp="1596968402615" />
<state width="1814" height="398" key="GridCell.Tab.0.left" timestamp="1596968402615">
<state width="1814" height="398" key="GridCell.Tab.0.center/67.27.1853.1053@67.27.1853.1053" timestamp="1596968618944" />
<state width="1814" height="398" key="GridCell.Tab.0.left" timestamp="1596968618944">
<screen x="67" y="27" width="1853" height="1053" />
</state>
<state width="1814" height="398" key="GridCell.Tab.0.left/67.27.1853.1053@67.27.1853.1053" timestamp="1596968402615" />
<state width="1814" height="398" key="GridCell.Tab.0.right" timestamp="1596968402616">
<state width="1814" height="398" key="GridCell.Tab.0.left/67.27.1853.1053@67.27.1853.1053" timestamp="1596968618944" />
<state width="1814" height="398" key="GridCell.Tab.0.right" timestamp="1596968618945">
<screen x="67" y="27" width="1853" height="1053" />
</state>
<state width="1814" height="398" key="GridCell.Tab.0.right/67.27.1853.1053@67.27.1853.1053" timestamp="1596968402616" />
<state width="1814" height="398" key="GridCell.Tab.0.right/67.27.1853.1053@67.27.1853.1053" timestamp="1596968618945" />
<state x="67" y="27" width="1521" height="1053" key="SettingsEditor" timestamp="1596677393346">
<screen x="67" y="27" width="1853" height="1053" />
</state>
<state x="67" y="27" width="1521" height="1053" key="SettingsEditor/67.27.1853.1053@67.27.1853.1053" timestamp="1596677393346" />
<state x="481" y="302" key="com.intellij.ide.util.TipDialog" timestamp="1596673278210">
<state x="481" y="302" key="com.intellij.ide.util.TipDialog" timestamp="1597023994940">
<screen x="67" y="27" width="1853" height="1053" />
</state>
<state x="481" y="302" key="com.intellij.ide.util.TipDialog/67.27.1853.1053@67.27.1853.1053" timestamp="1596673278210" />
<state x="481" y="302" key="com.intellij.ide.util.TipDialog/67.27.1853.1053@67.27.1853.1053" timestamp="1597023994940" />
<state x="1111" y="25" key="search.everywhere.popup" timestamp="1596606706048">
<screen x="67" y="27" width="1853" height="1053" />
</state>

@ -22,12 +22,7 @@ def updateDB():
def main():
#updateDB()
spider = Spider()
spider.url = 'https://voice.baidu.com/act/newpneumonia/newpneumonia/'
foreignData=spider.grapForeign()
saveDb = SaveToDB()
saveDb.InsertForeignCountry(foreignData)
updateDB()
if __name__ == '__main__':

Loading…
Cancel
Save