如何通过PHP获取指定URL的某个标签的内容
比如这个网页:http://www.amazon.com/dp/B00CYAYSOS,获取价格标签在<spanid="priceblock_ourprice"class=...
比如这个网页:
http://www.amazon.com/dp/B00CYAYSOS,获取价格
标签在<span id="priceblock_ourprice" class="a-size-medium a-color-price">$34.24</span> 展开
http://www.amazon.com/dp/B00CYAYSOS,获取价格
标签在<span id="priceblock_ourprice" class="a-size-medium a-color-price">$34.24</span> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询