下载百度搜索图片

2015-12-15 0 330
下载百度搜索图片
$brand =  'logo';

$url = "http://image.baidu.com/search/index?tn=baiduimage&ipn=r&ct=201326592&cl=2&lm=-1&st=-1&fm=index&fr=&sf=1&fmq=&pv=&ic=0&nc=1&z=&se=1&showtab=0&fb=0&width=&height=&face=0&istype=2&ie=utf-8&word={$brand}&oq={$brand}&rsp=-1";
$content = file_get_contents($url);
preg_match_all('/objURL":"(.*?)",/',$content,$match);
print_r($match);

遇见资源网 php 下载百度搜索图片 http://www.ox520.com/8079.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务