命令行start脚本
进入demo目录:cd demo
运行脚本:php douban.php.
数据库连接配置:
'db_config'=>
array(
'host'=>'127.0.0.1',
'port'=>3306,
'user'=>'root', //连接数据库的用户名,根据自己环境定义
'pass'=>'root', //连接数据库的密码,根据自己环境定义
'name'=>'demo' //存放的数据库
),
-
Notifications
You must be signed in to change notification settings - Fork 0
PHPfrank/Crawler_demo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
php实现批量抓取网页内容demo
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published