24-2 1688某类商品信息 - 图1

抓取的结果信息包含:

  • 商品名字
  • 商品链接
  • 商品标签
  • 商品价格
  • 起批量
  • 所在地区
  • 快递费
  • 30内成交数
  • 店铺名字
  • 店铺开店时长
  • 是否有质量保证承诺
  • 是否有发货保障承诺
  • 是否有换货保障承诺
  • 是否有买家保障承诺
  • 是否有企业身份认证
  • 卖家名字
  • 货描率
  • 响应率
  • 发货率
  • 回头率

结果示例图:

24-2 1688某类商品信息 - 图2

模板:

  1. {"_id":"a1688-fenlei","startUrl":
  2. ["https://show.1688.com/pinlei/industry/pllist.html?spm=a260k.dacugeneral.home2019category.11.5148436cJrU9T5&sceneSetId=873&sceneId=3928"],"selectors":
  3. [{"id":"info","type":"SelectorElementScroll","parentSelectors":["_root"],"selector":"div.cate1688-offer.b2b-ocms-fusion-comp","multiple":true,"delay":"2000"},
  4. {"id":"link","type":"SelectorLink","parentSelectors":["info"],"selector":"a","multiple":false,"delay":0},{"id":"name","type":"SelectorText","parentSelectors":
  5. ["info"],"selector":"div.offer-title","multiple":false,"regex":"","delay":0},{"id":"tag","type":"SelectorText","parentSelectors":
  6. ["info"],"selector":"div.offer-properties","multiple":false,"regex":"","delay":0},{"id":"price","type":"SelectorText","parentSelectors":
  7. ["info"],"selector":".offer-desc div.clearfix","multiple":false,"regex":"","delay":0},{"id":"qipiliang","type":"SelectorText","parentSelectors":
  8. ["link"],"selector":".amount td.ladder-1-1","multiple":false,"regex":"","delay":0},{"id":"wuliu","type":"SelectorText","parentSelectors":
  9. ["link"],"selector":"span.delivery-addr","multiple":false,"regex":"","delay":0},{"id":"kuaidi","type":"SelectorText","parentSelectors":
  10. ["link"],"selector":".obj-carriage div.cost-entries-type","multiple":false,"regex":"","delay":0},{"id":"data","type":"SelectorText","parentSelectors":
  11. ["link"],"selector":".mod-detail-evaluate div.d-content","multiple":false,"regex":"","delay":0},
  12. {"id":"store-name","type":"SelectorText","parentSelectors":["link"],"selector":"a.has-tips","multiple":false,"regex":"","delay":0},{"id":"years","type":"SelectorText","parentSelectors":
  13. ["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},
  14. {"id":"store-intro2","type":"SelectorText","parentSelectors":["link"],"selector":"span.shipment","multiple":false,"regex":"","delay":0},
  15. {"id":"store-intro3","type":"SelectorText","parentSelectors":["link"],"selector":"span.exchange","multiple":false,"regex":"","delay":0},
  16. {"id":"store-intro4","type":"SelectorText","parentSelectors":["link"],"selector":"span.dc","multiple":false,"regex":"","delay":0},
  17. {"id":"store-intro5","type":"SelectorText","parentSelectors":["link"],"selector":"span.promise","multiple":false,"regex":"","delay":0},
  18. {"id":"store-intro6","type":"SelectorText","parentSelectors":["link"],"selector":"span.auth","multiple":false,"regex":"","delay":0},
  19. {"id":"user-name","type":"SelectorText","parentSelectors":["link"],"selector":"a.link","multiple":false,"regex":"","delay":0},{"id":"huomiao","type":"SelectorText","parentSelectors":
  20. ["link"],"selector":".universal-supplier-bsr div.bsr-higher-hm","multiple":false,"regex":"","delay":0},{"id":"xiangying","type":"SelectorText","parentSelectors":
  21. ["link"],"selector":".universal-supplier-bsr div.bsr-higher-xy","multiple":false,"regex":"","delay":0},{"id":"fahuo","type":"SelectorText","parentSelectors":
  22. ["link"],"selector":".universal-supplier-bsr div.bsr-higher-fh","multiple":false,"regex":"","delay":0},{"id":"huitou","type":"SelectorText","parentSelectors":
  23. ["link"],"selector":".universal-supplier-bsr span.description-value-ht","multiple":false,"regex":"","delay":0},{"id":"shilibaozhang","type":"SelectorText","parentSelectors":
  24. ["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)开始抓取