懂车帝移动端抓取
This commit is contained in:
@@ -154,7 +154,8 @@ class UsedCarController extends BaseController
|
||||
if (empty($url)){
|
||||
throw new BusinessException('url不能为空');
|
||||
}
|
||||
$info = (new UsedCarCrawlSingle())->crawlCar($url);
|
||||
//$info = (new UsedCarCrawlSingle())->crawlCar($url);
|
||||
$info = $this->service->selectCraw($url);
|
||||
$data = [
|
||||
'user_id' => $request->user['id'],
|
||||
'product_name' => $info['title'],
|
||||
|
||||
Reference in New Issue
Block a user