步骤
使用composer安装 php抓取扩展包
composer require jaeger/querylist
分析自如首页html结构
经过分析发现区域和地铁数据在类名.clearfix.filterList下面,所以代码可以这么些:
<?php
require_once 'vendor/autoload.php';
$url = 'http://www.ziro...
3-21 2,489 views
步骤
使用composer安装 php抓取扩展包
composer require jaeger/querylist
分析自如首页html结构
经过分析发现区域和地铁数据在类名.clearfix.filterLi...