Taobao API

PAGADO
Por H-W-H | Actualizada 13일 전 | eCommerce
Popularidad

9.6 / 10

Latencia

627ms

Nivel de servicio

100%

Health Check

100%

Volver a todas las conversaciones

URLs format in response body

It is possible to normalize / standardize the URLs returned by this API?

Sometimes the URLs are returned correctly with the correct format:

https://<some_domain>/...

But sometimes the https schema is missing, an example of this is this request:

  • Api: “item_detail_simple”
  • num_iid: “623049270837”

Response:

{
  "result": {
    "seller": {
      "shop_title": "",
      "shop_url": "//store.taobao.com/shop/view_shop.htm?user_number_id=2874228018",
      "seller_id": 2874228018,
      "user_type": "0"
    },
    "status": {
      "code": 200,
      "execution_time": 0.2251,
      "msg": "success"
    },
    "delivery": {
      "from": "美国"
    },
    "item": {
      "detail_url": "//item.taobao.com/item.htm?id=623049270837",
      "num_iid": 623049270837,
      "price": 36414,
      "total_sales": "0",
      "images": [
        "//img.alicdn.com/bao/uploaded/i1/2874228018/O1CN01CY78GZ296IGWtgepC_!!0-item_pic.jpg"
      ],
      "title": "Maurice Lacroix/男士手表自动机械防水50米 MP6428-SS001-11E",
      "promotion_price": 36414
    }
  }
}

As you can see, many urls has a missing https:

Únase a la conversación, añada un comentario a continuación:

Inicie sesió/Regístrese para publicar nuevos comentarios