[英]Yelp API - Pull all Reviews for a business
I was reading through the API and I clicked on Business API and found reviews
as a possible response.我正在阅读 API 并单击 Business API 并找到reviews
作为可能的响应。 The description reads,描述中写道,
List of up to 1 review snippet for the business
Does this mean I cannot pull all my reviews for my business onto my website?这是否意味着我无法将所有对我的业务的评论都拉到我的网站上? I could only show 1 snippet?我只能显示 1 个片段?
This is correct, there is no way to get more reviews from the Yelp API.这是正确的,没有办法从 Yelp API 获得更多评论。
You would have to write a web scraper.你将不得不编写一个网络爬虫。 http://www.jacobward.co.uk/web-scraping-with-php-curl-part-1/ http://www.jacobward.co.uk/web-scraping-with-php-curl-part-1/
YELPs EULA forbids web scraping. YELPs EULA 禁止网络抓取。
Under the Restricts section, subsection 2, item 3, "Use any robot, spider, site search/retrieval application, or other automated device, process or means to access, retrieve, scrape, or index any portion of the Site or any Site Content;"在限制部分第 2 小节第 3 项下,“使用任何机器人、蜘蛛、站点搜索/检索应用程序或其他自动化设备、过程或手段来访问、检索、抓取或索引站点的任何部分或任何站点内容;"
If you do it be careful.如果你这样做要小心。 These websites have gone after folks hard in the past...这些网站过去一直在努力追求人们......
EDIT: by do it I am referring to the webscraping that was suggested.编辑:通过这样做,我指的是建议的网页抓取。
如果您过于频繁地运行网络爬虫,Yelp 将禁止您的 IP
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.