【发布时间】:2020-11-22 07:26:16
【问题描述】:
这是我得到的回应。我想从price_html中提取<span>标签
"id": 2320,
"name": "Lakme Sun Expert Sunscreen (spf-50) 50ml",
"slug": "lakme-sun-expert-sunscreen-spf-50-50ml",
"permalink": "https://www.utkalmerchandise.com/product/lakme-sun-expert-sunscreen-spf-50-50ml/",
"date_created": "2020-08-01T05:49:57",
"date_created_gmt": "2020-08-01T05:49:57",
"date_modified": "2020-08-01T05:49:57",
"date_modified_gmt": "2020-08-01T05:49:57",
"type": "variable",
"status": "publish",
"featured": false,
"catalog_visibility": "visible",
"description": "",
"short_description": "",
"sku": "",
"price": "95",
"regular_price": "",
"sale_price": "",
"date_on_sale_from": null,
"date_on_sale_from_gmt": null,
"date_on_sale_to": null,
"date_on_sale_to_gmt": null,
"price_html": "<span class=\"woocommerce-Price-amount amount\"><span class=\"woocommerce-Price-currencySymbol\">₹</span>95.00</span> – <span class=\"woocommerce-Price-amount amount\"><span class=\"woocommerce-Price-currencySymbol\">₹</span>219.00</span>",```
【问题讨论】:
标签: android html json retrofit android-volley