标题:问题php怎么实现抓取网页中的图片地址?
只看楼主
kukusoft_net
Rank: 1
来 自:广东
等 级:新手上路
帖 子:1
专家分:0
注 册:2012-9-7
 问题点数:0 回复次数:0 
问题php怎么实现抓取网页中的图片地址?
{"thumbURL":"http://t3.baidu.com/it/u=3980893816,1822924541&fm=0&gp=0.jpg","middleURL":"http://t3.baidu.com/it/u=3980893816,1822924541&fm=51&gp=0.jpg","largeTnImageUrl":"http://t3.baidu.com/it/u=3980893816,1822924541&fm=52&gp=0.jpg","hasLarge" : 0,"pageNum":59,"objURL":"http://ttnews.     ","fromURL":"http://ttnews.     ","fromURLHost":"http://ttnews.     ","currentIndex":"7138     ","width":367,"height":550,"type":"jpg","filesize":"50","bdSrcType":"0","di":"211863025300","is":"0,0","bdSetImgNum":0,"bdImgnewsDate":"1970-01-01 08:00","fromPageTitle":"李连杰七岁<strong>女儿<\/strong>与<strong>刘德华<\/strong>跳拉丁     ","bdSourceName":"","bdFromPageTitlePrefix":"","token":"8298"},{……},{……},{……}。

我需要Php正则只匹配出所有的 这段图片http://ttnews.   地址。
这个http://t3.baidu.com/it/u=3980893816,1822924541&fm=0&gp=0.jpg不要
这个http://t3.baidu.com/it/u=3980893816,1822924541&fm=52&gp=0.jpg不要

搜索更多相关主题的帖子: 网页 图片 
2012-09-07 16:25



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-380920-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.690456 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved