抓取大众点评商户列表

模板 tesths 5个月前 (07-20) 836次浏览 0个评论

抓取大众点评商户列表

 

1、 数据字段

  • 名称
  • 评分
  • 评论数
  • 价格
  • 地点
  • 类型
  • 标签
  • 优惠券
  • 团购

2、结果示例截图

抓取大众点评商户列表

3、sitemap json

{"_id":"dianping","startUrl":["https://m.dianping.com/shoplist/8/search?from=m_search&keyword=%E7%83%A4%E8%82%89&from_suggest=hotsuggest_1"],"selectors":[{"id":"element","type":"SelectorElement","parentSelectors":["_root"],"selector":"div.card-container","multiple":true,"delay":"2000"},{"id":"name","type":"SelectorText","parentSelectors":["element"],"selector":"h3","multiple":false,"regex":"","delay":0},{"id":"star","type":"SelectorElementAttribute","parentSelectors":["element"],"selector":"span.star","multiple":false,"extractAttribute":"class","delay":0},{"id":"comment","type":"SelectorText","parentSelectors":["element"],"selector":"span.item-comment-price:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"price","type":"SelectorText","parentSelectors":["element"],"selector":"span:nth-of-type(3)","multiple":false,"regex":"","delay":0},{"id":"location","type":"SelectorText","parentSelectors":["element"],"selector":"span.item-info-region","multiple":false,"regex":"","delay":0},{"id":"type","type":"SelectorText","parentSelectors":["element"],"selector":"span.item-category-name","multiple":false,"regex":"","delay":0},{"id":"tag","type":"SelectorText","parentSelectors":["element"],"selector":"div.tag-list","multiple":false,"regex":"","delay":0},{"id":"coupon","type":"SelectorText","parentSelectors":["element"],"selector":"a:nth-of-type(1) span.coupon-info","multiple":false,"regex":"","delay":0},{"id":"discount","type":"SelectorText","parentSelectors":["element"],"selector":"a:nth-of-type(2) span.coupon-info","multiple":false,"regex":"","delay":0}]}

喜欢 (3)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址