Home  >  Article  >  Backend Development  >  输入URL获取商品的信息是如何实现的?

输入URL获取商品的信息是如何实现的?

WBOY
WBOYOriginal
2016-06-06 20:21:471471browse

像什么值得买-爆料中这种,输入商品的URL获取商品的信息是如何实现的?

以京东为例,是成为京东开发者还是使用PHP或(Python)抓取?或者有其他办法?

回复内容:

像什么值得买-爆料中这种,输入商品的URL获取商品的信息是如何实现的?

以京东为例,是成为京东开发者还是使用PHP或(Python)抓取?或者有其他办法?

没有API的话需要手动分析,思路见我刚写的文章某电商商品属性获取分析

你可以看看有没有适合的API,使用爬虫技术抓取的话,现在反爬取做得越来越好,可能会有难度。

京东的话,API在这里

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn