摘要:
使用composer安装错误提示: The "https://packagist.laravel china.org/packages.json" file could not be downloaded: Peer certificate CN= .phphub.org' did not matc 阅读全文
摘要:
"官方文档" 1、下载 官方github下载地址: https://github.com/owner888/phpspider 下载地址可能无法访问,这里提供一个网盘下载地址: 链接: https://pan.baidu.com/s/1ttkzYO0CU4qF0hP8olSNdg 提取码: w4fx 阅读全文
摘要:
"参考文档1" "参考文档2" 这里是我自己写的一个小需求 爬虫主要的思路是:用正则去筛选我们爬取我们的页面,然后从列表页获取到的url,再一个个去爬取详情页的内容 注意事项: 1. 如果用file_get_contens去获取内容的话,gzip压缩,会出现乱码的情况 如是用的curl的话 无论页面 阅读全文