2017 © Pedro Peláez
 

library crawl

简单实用的php爬虫系统

image

wxxiong6/crawl

简单实用的php爬虫系统

  • Tuesday, February 27, 2018
  • by wxxiong6
  • Repository
  • 2 Watchers
  • 14 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 9 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

php爬虫系统

  • 程序只支持CLI,执行前需要把php加入环境变量

安装程序

1.dbconfig.php 添加正确的数据库配置

2. 安装程序

php run install

启动程序

安装完成后,在setting表添加来源站点及正则提取规则。

启动程序 (参数是 setting 表id)

php run run 1 

清除项目数据 (参数是 setting 表id)

PHP php run clear 1, (*1)

完整代码目录

PHP │ crawl.sql │ LICENSE │ README │ run 系统入口程序 │ ├─code │ ├─config 配置文件 │ │ config.php │ │ dbconfig.php │ │ │ └─library 类库 │ │ App.php │ │ Crawl.php │ │ CrawlCallback.php │ │ Import.php │ │ Loader.php │ │ │ └─db 数据库 │ MysqlPDO.php │ ├─data 数据 │ ├─log 日志目录 │ ├─tmp └─web web目录, (*2)

The Versions

27/02 2018

dev-master

9999999-dev

简单实用的php爬虫系统

  Sources   Download

MIT

The Requires

  • php >=5.4

 

by xwx

spider crawl 爬虫 php爬虫

21/09 2017

v1.0.0

1.0.0.0

简单实用的php爬虫系统

  Sources   Download

MIT

The Requires

  • php >=5.4

 

by xwx

spider crawl 爬虫 php爬虫