抓取的结果信息包含:
- 商品名字
- 商品链接
- 商品标签
- 商品价格
- 起批量
- 所在地区
- 快递费
- 30内成交数
- 店铺名字
- 店铺开店时长
- 是否有质量保证承诺
- 是否有发货保障承诺
- 是否有换货保障承诺
- 是否有买家保障承诺
- 是否有企业身份认证
- 卖家名字
- 货描率
- 响应率
- 发货率
- 回头率
结果示例图:
模板:
{"_id":"a1688-fenlei","startUrl":
["https://show.1688.com/pinlei/industry/pllist.html?spm=a260k.dacugeneral.home2019category.11.5148436cJrU9T5&sceneSetId=873&sceneId=3928"],"selectors":
[{"id":"info","type":"SelectorElementScroll","parentSelectors":["_root"],"selector":"div.cate1688-offer.b2b-ocms-fusion-comp","multiple":true,"delay":"2000"},
{"id":"link","type":"SelectorLink","parentSelectors":["info"],"selector":"a","multiple":false,"delay":0},{"id":"name","type":"SelectorText","parentSelectors":
["info"],"selector":"div.offer-title","multiple":false,"regex":"","delay":0},{"id":"tag","type":"SelectorText","parentSelectors":
["info"],"selector":"div.offer-properties","multiple":false,"regex":"","delay":0},{"id":"price","type":"SelectorText","parentSelectors":
["info"],"selector":".offer-desc div.clearfix","multiple":false,"regex":"","delay":0},{"id":"qipiliang","type":"SelectorText","parentSelectors":
["link"],"selector":".amount td.ladder-1-1","multiple":false,"regex":"","delay":0},{"id":"wuliu","type":"SelectorText","parentSelectors":
["link"],"selector":"span.delivery-addr","multiple":false,"regex":"","delay":0},{"id":"kuaidi","type":"SelectorText","parentSelectors":
["link"],"selector":".obj-carriage div.cost-entries-type","multiple":false,"regex":"","delay":0},{"id":"data","type":"SelectorText","parentSelectors":
["link"],"selector":".mod-detail-evaluate div.d-content","multiple":false,"regex":"","delay":0},
{"id":"store-name","type":"SelectorText","parentSelectors":["link"],"selector":"a.has-tips","multiple":false,"regex":"","delay":0},{"id":"years","type":"SelectorText","parentSelectors":
["link"],"selector":".certify-info a.tp-info","multiple":false,"regex":"","delay":0},{"id":"store-intro1","type":"SelectorText","parentSelectors":["link"],"selector":"span.quality","multiple":false,"regex":"","delay":0},
{"id":"store-intro2","type":"SelectorText","parentSelectors":["link"],"selector":"span.shipment","multiple":false,"regex":"","delay":0},
{"id":"store-intro3","type":"SelectorText","parentSelectors":["link"],"selector":"span.exchange","multiple":false,"regex":"","delay":0},
{"id":"store-intro4","type":"SelectorText","parentSelectors":["link"],"selector":"span.dc","multiple":false,"regex":"","delay":0},
{"id":"store-intro5","type":"SelectorText","parentSelectors":["link"],"selector":"span.promise","multiple":false,"regex":"","delay":0},
{"id":"store-intro6","type":"SelectorText","parentSelectors":["link"],"selector":"span.auth","multiple":false,"regex":"","delay":0},
{"id":"user-name","type":"SelectorText","parentSelectors":["link"],"selector":"a.link","multiple":false,"regex":"","delay":0},{"id":"huomiao","type":"SelectorText","parentSelectors":
["link"],"selector":".universal-supplier-bsr div.bsr-higher-hm","multiple":false,"regex":"","delay":0},{"id":"xiangying","type":"SelectorText","parentSelectors":
["link"],"selector":".universal-supplier-bsr div.bsr-higher-xy","multiple":false,"regex":"","delay":0},{"id":"fahuo","type":"SelectorText","parentSelectors":
["link"],"selector":".universal-supplier-bsr div.bsr-higher-fh","multiple":false,"regex":"","delay":0},{"id":"huitou","type":"SelectorText","parentSelectors":
["link"],"selector":".universal-supplier-bsr span.description-value-ht","multiple":false,"regex":"","delay":0},{"id":"shilibaozhang","type":"SelectorText","parentSelectors":
["link"],"selector":"div.mod-detail-guarantee","multiple":false,"regex":"","delay":0}]}
模板套用步骤:
(1)进入需要抓取的商品分类页面,例如:https://show.1688.com/pinlei/industry/pllist.html?spm=a260k.dacugeneral.home2019category.11.5148436cJrU9T5&sceneSetId=873&sceneId=3928
(2)导入模板
(3)替换 Start URL为要抓取的网页链接,(抓取多页需修改 Start URL 里的页码数)
(4)开始抓取