# SE_WORK **Repository Path**: fr000/SE_WORK ## Basic Information - **Project Name**: SE_WORK - **Description**: 软件工程管理与实践作业 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2015-09-06 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #SE_WORK 软件工程管理与实践作业,一个采集公示信息的小爬虫 ## Usage 需要python2.7,beautifulsoup>=4.4.0支持, 为了保障数据存储和图形界面显示,还需要MySQLDB包,MySQL,pyqt 4支持. 只有前者,可以只运行scripts\run.bat的前半部分,得到中间文件IR\gov_info.json. ###命令行使用 windows 命令行下直接运行 `run.bat` linux下 `sh run.bat` ###带图形界面使用 windows 运行 `run_ui.bat` 如果还希望将数据以浏览器形式显示,再运行 `run_with_data.bat` ## Setting 配置MySQL数据库: 将 `./scripts/display/dbHelper/MySQLDBHelper.py` 中`__init__` 的 `host,user,passwd,port` 修改到本机对应的参数即可,数据库会在使用时自动建立. ##License Copyright 2015, 2016 SE_WORK_member Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.