Home  >  Q&A  >  body text

php - How to implement the "get data" function in the backend of Taobao website?

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?

为情所困为情所困2732 days ago570

reply all(1)I'll reply

  • 世界只因有你

    世界只因有你2017-05-17 09:57:30

    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.

    reply
    0
  • Cancelreply