project taobao_spider
淘宝、天猫商品爬虫
shjia/taobao_spider
淘宝、天猫商品爬虫
- Wednesday, August 1, 2018
- by 赤木
- Repository
- 1 Watchers
- 1 Stars
- 10 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 0 % Grown
淘宝、天猫商品爬虫
, (*1)
配置淘宝商品ID,通过Web版和H5版本的HTML、API数据结合,抓取淘宝、天猫商品的数据, (*2)
Requirement
Installation
composer require "shjia/taobao_spider:~1.0"
Usage
<?php
require_once 'src/spider.php';
use Ezspider\spider;
$importModel = new \Ezspider\spider;
$importModel->setItemId('569643840385');
if(empty($importModel->initGoodsPlatform())){
return;
}
$params['name'] = $importModel->getGoodsTitle();
$params['image'] = $importModel->getPreviewImg();
$params['detail'] = $importModel->getDetails();
print_r($params);
dev-master
9999999-dev
淘宝、天猫商品爬虫
Sources
Download
MIT
The Requires
by
chimu
taobao-spider
tmall-spider
v1.0.0
1.0.0.0
淘宝、天猫商品爬虫
Sources
Download
MIT
The Requires
by
chimu
taobao-spider
tmall-spider
dev-develop
dev-develop
淘宝、天猫商品爬虫
Sources
Download
MIT
The Requires
by
chimu
taobao-spider
tmall-spider