php - How to implement the "get data" function in the backend of Taobao website?
为情所困2017-05-17 09:55:30
0
1
601
A function like this. Enter the URL of Taobao products and click to get the data, and the relevant data will be displayed. Is there an API specifically for Taobao customers? Which API is it?
Personally, I think it is implemented by a crawler. The HTML of the product page is obtained through the URL address, and then its dom structure is analyzed. Generally, most of the dom structure of such pages must be the same, and then the corresponding data can be grabbed.
Personally, I think it is implemented by a crawler. The HTML of the product page is obtained through the URL address, and then its dom structure is analyzed. Generally, most of the dom structure of such pages must be the same, and then the corresponding data can be grabbed.