爬取各sku对应价格等信息重点操作
1创建一个点击项把sku点开
2创建一个sku点击项
3从2项点进去创建一个子项
各项关系图
谷歌插件web scraper拼多逐个点击每个sku并爬取多sku导出脚本(打开复制导入即可)
点击import sitemap,把以下json复制进去即可
{
"_id": "pdd_detail2",
"startUrl": [
"https://mobile.yangkeduo.com/goods.html?goods_id=203388973000"
],
"selectors": [
{
"id": "sale",
"type": "SelectorText",
"parentSelectors": [
"_root"
],
"selector": "span._3ORJYJDV",
"multiple": false,
"regex": "",
"delay": 0
},
{
"id": "cuxiao",
"type": "SelectorText",
"parentSelectors": [
"_root"
],
"selector": "div._1NYJ19ir",
"multiple": false,
"regex": "",
"delay": 0
},
{
"id": "title",
"type": "SelectorText",
"parentSelectors": [
"_root"
],
"selector": "span.enable-select",
"multiple": false,
"regex": "",
"delay": 0
},
{
"id": "services",
"type": "SelectorText",
"parentSelectors": [
"_root"
],
"selector": "div._1IIQS8UL",
"multiple": false,
"regex": "",
"delay": 0
},
{
"id": "comment_total"