3 Star 24 Fork 8

如沐春 / 简单的PHP爬虫系统

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

简单的PHP爬虫系统

介绍

简单实现创建爬虫项目,然后导入数据库的功能。

软件架构

语言:PHP5.6+ 数据库:MySQL 环境支持:Apache、nginx

安装教程

  1. 将目录里的所有文件放入服务器中,或本地项目目录中
  2. 将根目录的caiji.sql导入数据库中
  3. 配置爬虫系统数据库core/config.php
  4. 绑定域名到目录
  5. 访问域名,进入系统

使用说明

  1. 需要先创建要导入的数据库
  2. 创建爬虫项目,设定不同字段的爬取规则,指定数据库,指定导入表
  3. 爬取字段需要跟指定表一一对应,这样才能正确导入

在线演示

http://caiji.test.2wex.com

参与贡献

项目背景

该项目是在个人组织的PHP培训中最后的项目结课作业 课程已上传到B站,与项目相关视频如下:

  1. https://www.bilibili.com/video/BV12K411L7wv/
  2. https://www.bilibili.com/video/BV12V411o7vW/
  3. https://www.bilibili.com/video/BV1ik4y1R7zX/
  4. https://www.bilibili.com/video/BV1GT4y1V7AT/
  5. https://www.bilibili.com/video/BV1a54y197VK/
  6. https://www.bilibili.com/video/BV12T4y1G7Sf/

B站个人主页:https://space.bilibili.com/8890287

关于本人

QQ:2581047041 邮箱:2581047041@qq.com 手机号:13660240863 微信:TF-2581047041

MIT License Copyright (c) 2020 如沐春 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

简单实现创建爬虫项目,然后导入数据库的功能。 展开 收起
PHP
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
PHP
1
https://gitee.com/Cherry_toto/a_simple_php_crawler_system.git
git@gitee.com:Cherry_toto/a_simple_php_crawler_system.git
Cherry_toto
a_simple_php_crawler_system
简单的PHP爬虫系统
master

搜索帮助