├── cache └── .htaccess ├── logo.png ├── favicon.ico ├── mouse ├── JZWL-1.cur └── JZWL-2.cur ├── pansearch.tar.gz ├── mouse.css ├── README.md ├── foot.inc.php ├── config.php ├── view.php ├── item.php ├── down.php ├── mo.php ├── head.inc.php ├── index.php └── func.inc.php /cache/.htaccess: -------------------------------------------------------------------------------- 1 | Error:Keep Out -------------------------------------------------------------------------------- /logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/onlineDisk_search/HEAD/logo.png -------------------------------------------------------------------------------- /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/onlineDisk_search/HEAD/favicon.ico -------------------------------------------------------------------------------- /mouse/JZWL-1.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/onlineDisk_search/HEAD/mouse/JZWL-1.cur -------------------------------------------------------------------------------- /mouse/JZWL-2.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/onlineDisk_search/HEAD/mouse/JZWL-2.cur -------------------------------------------------------------------------------- /pansearch.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/onlineDisk_search/HEAD/pansearch.tar.gz -------------------------------------------------------------------------------- /mouse.css: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # onlineDisk_search 2 | # Blog https://www.wujunze.com 3 | #Email itwujunze@163.com 4 | 5 | 全能网盘搜索引擎 6 | 可以搜索 我的磨|百度网盘|115网盘|乐视网盘|新浪微盘|华为网盘|千脑网盘|城通网盘 的资源,使用谷歌做为引擎,且不受GFW限制。 7 | 搜索时可以选择文件格式 8 | 磨盘代理访问功能,搜索到的资源全部采用代理访问 9 | 文件下载免登陆免验证码 10 | 磨盘文件中转下载功能 11 | 首页磨盘随机推荐 12 | 百度网盘链接解析功能 13 | 14 | 15 | 演示:http://pan.wujunze.com/ 16 | 17 | 搜索结果演示: http://pan.wujunze.com/?m=baidu2&k=php&type=all 18 | -------------------------------------------------------------------------------- /foot.inc.php: -------------------------------------------------------------------------------- 1 | 4 | ©Powered by 钧泽网络 5 | 6 | 7 | {$tongji} 8 | HTML; 9 | echo ""; 10 | ?> 11 | -------------------------------------------------------------------------------- /config.php: -------------------------------------------------------------------------------- 1 | 31 | -------------------------------------------------------------------------------- /view.php: -------------------------------------------------------------------------------- 1 | '.$res['name'].' [ 浏览原网页 ]
'.$res['info'].'
文件操作:
'.$res['actions'].'
文件简介:

'.$res['description'].'

'; 26 | } 27 | 28 | elseif(preg_match('/entry\//',$url)) 29 | { 30 | $res=wodemo_entry($url); 31 | 32 | $title = $res['title']; 33 | require 'head.inc.php'; 34 | 35 | echo '
'.$res['title'].' [ 浏览原网页 ]
'.$res['content'].'
'; 36 | } 37 | ?> 38 | 39 |
40 | 返回上级-返回首页 41 |
42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /item.php: -------------------------------------------------------------------------------- 1 | 文件名:
'. $nr['name'].'
文件大小:
'. $size.'
MD5:
'.$nr['md5'].'
分享地址:
'.$nr['url'].'
'; 32 | echo '
'; 33 | echo '下载直链:
'; 34 | echo ''; 35 | echo '
'; 36 | } 37 | ?> 38 | 39 |
40 | 返回上级-返回首页 41 |
42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /down.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mo.php: -------------------------------------------------------------------------------- 1 | 我的磨代理访问 20 |
输入要访问的磨盘域名:
21 | 22 | 23 |
'; 24 | require 'foot.inc.php'; 25 | exit; 26 | } 27 | $url=isset($_GET['url'])?$_GET['url']:'/filelist'; 28 | 29 | $url=$mo.$url; 30 | $ch=curl_init($url); 31 | curl_setopt($ch, CURLOPT_REFERER, 'http://wodemo.com/'); 32 | curl_setopt($ch, CURLOPT_USERAGENT, 'MQQBrowser/Mini3.1 (Nokia3050/07.42) Via: MQQBrowser'); 33 | curl_setopt($ch, CURLOPT_HEADER, 0); 34 | curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); 35 | curl_setopt($ch, CURLOPT_HTTPHEADER, array("Accept-Language:zh-cn,zh;")); 36 | $html=curl_exec($ch); 37 | curl_close($ch); 38 | 39 | $title = "|(.*?)|ims"; 40 | 41 | $nav = "|(.*?) 
|ims"; 42 | 43 | $list = "|

|ims"; 44 | 45 | $page = "|(.*?)

|ims"; 46 | 47 | preg_match($title,$html,$out); 48 | $title = $out[1]; 49 | preg_match($nav,$html,$out); 50 | $nav = str_replace(''.$title.' [ 浏览原网页 ]
'.$nav.'
'.$list.'
'.$page.'
'; 66 | 67 | ?> 68 | 69 |
70 | 返回上级-返回首页 71 |
72 | 73 | 74 | 75 | -------------------------------------------------------------------------------- /head.inc.php: -------------------------------------------------------------------------------- 1 | '; 13 | echo ''; 14 | echo ''; 15 | echo << 17 | 18 | 19 | {$title} 20 | 95 | 99 | 100 | 101 |

网盘搜索引擎-钧泽网络旗下网站

102 | HTML; 103 | ?> -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 我的磨|我的磨2|百度网盘|百度云|乐视网盘|新浪微盘|华为网盘|千脑网盘|城通网盘'; 24 | $nav=preg_replace('!(.*?)!i','$1',$nav); 25 | if(!$k)$nav=str_ireplace('&k='.$k.'&type='.$type,'',$nav); 26 | 27 | if($type=='all')$select=''; 28 | else $select=''; 29 | 30 | echo <<

{$nav}

32 |

33 | 34 | 35 | 59 | 60 | 61 |


62 | HTML; 63 | if(!$k){ 64 | if($m=='wodemo') 65 | { 66 | $ch=curl_init('http://cccyun.sinaapp.com/api/mopan.php?limit='.$limit); 67 | curl_setopt($ch, CURLOPT_HEADER, 0); 68 | curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); 69 | $mopan=curl_exec($ch); 70 | curl_close($ch); 71 | echo '
我的磨随机推荐  更多>>
'.$mopan.'
'; 72 | if($transfer==true)$submit=' '; 73 | else $submit=''; 74 | echo '
我的磨代理访问
75 |
输入要访问的磨盘域名:
76 | 77 | 78 |
79 |
我的磨文件下载(免验证码)
80 |
输入文件下载链接:
81 |
82 | '.$submit.' 83 |
'; 84 | } 85 | require 'foot.inc.php'; 86 | exit; 87 | } 88 | if($type=='all'){} 89 | else $k=$k.' .'.$type; 90 | 91 | switch($m) 92 | { 93 | case 'baidu': 94 | $site="yun.baidu.com"; 95 | break; 96 | case 'baidu2': 97 | $site="yun.baidu.com"; 98 | break; 99 | case 'wodemo': 100 | $site="wodemo.com"; 101 | break; 102 | case '115': 103 | $site="115.com%2Flb"; 104 | break; 105 | case 'letv': 106 | $site="cloud.letv.com"; 107 | break; 108 | case 'vdisk': 109 | $site="vdisk.weibo.com"; 110 | break; 111 | case 'vmall': 112 | $site="dl.vmall.com"; 113 | break; 114 | case 'qiannao': 115 | $site="qiannao.com"; 116 | break; 117 | case '400gb': 118 | $site="400gb.com"; 119 | break; 120 | } 121 | 122 | if($m=='wodemo2') 123 | $con = search_wodemo($k,$pn); 124 | elseif($apimode==true) 125 | $con = search_api($k,$num,$pn,$site); 126 | else 127 | $con = search_google($k,$num,$pn,$site); 128 | $n=count($con); 129 | //print_r($con);exit; 130 | for($i=0;$i<$n;$i++) 131 | { 132 | $click=urldecode($con[$i]['url']); 133 | if($m=='baidu') 134 | echo <<{$con[$i]['title']} 136 |
{$con[$i]['description']}

137 | HTML; 138 | elseif($m=='wodemo' || $m=='wodemo2') 139 | echo <<{$con[$i]['title']} 141 |
{$con[$i]['description']}
{$con[$i]['site']}

142 | HTML; 143 | else 144 | echo <<{$con[$i]['title']} 146 |
{$con[$i]['description']}

147 | HTML; 148 | } 149 | 150 | echo '

'; 151 | if($pn==1) 152 | { 153 | echo '上一页'; 154 | } 155 | else{ 156 | echo '上一页'; 157 | } 158 | echo '.'; 159 | if($pn==100) 160 | { 161 | echo '下一页'; 162 | } 163 | else{ 164 | echo '下一页'; 165 | } 166 | echo "     第 {$pn} 页"; 167 | echo '

'; 168 | echo << 170 |
171 | 172 | 173 | 174 | 175 | 176 |
177 |

178 |
179 | HTML; 180 | require 'foot.inc.php'; 181 | 182 | ?> -------------------------------------------------------------------------------- /func.inc.php: -------------------------------------------------------------------------------- 1 | (.*?)页:|ims"; 51 | if(preg_match($p,$html,$out)){ 52 | $ol_contents = $out[1]; 53 | $p = '|
(.*?)
|ims'; 54 | if(preg_match_all($p,$ol_contents,$ol_out)){ 55 | $li_contents = $ol_out[1]; 56 | //print_r($li_contents);exit; 57 | $i = 0; 58 | foreach($li_contents as $li){ 59 | $p = '!(.*?) - (.*?)

(.*?)

!ims'; 60 | if(preg_match($p,$li,$o_out)){ 61 | //print_r($o_out);exit; 62 | $url = $o_out[1]; 63 | $op['title'] = $o_out[2]; 64 | $op['url'] = $url; 65 | $op['site'] = $o_out[3]; 66 | $op['description'] = $o_out[4]; 67 | } 68 | if($op['url']==null)continue; 69 | $all[] = $op; 70 | } 71 | return $all; 72 | } 73 | 74 | }else{ 75 | return array(); 76 | } 77 | } 78 | 79 | /** 80 | * 抓取谷歌搜索结果 81 | * @param string $k 关键字 82 | * @param int $num 每页显示结果数 83 | * @param int $pn 页数 84 | * @param string $site 指定站点 85 | * @return array 86 | */ 87 | function search_google($k,$num,$pn,$site) 88 | { 89 | $start = $pn*$num; 90 | global $googleip; 91 | $kw=urlencode($k); 92 | if($site) 93 | $url = $googleip."/search?sa=N&newwindow=1&safe=off&q={$kw}&num={$num}&start={$start}&sitesearch={$site}"; 94 | else $url = $googleip."/search?sa=N&newwindow=1&safe=off&q={$kw}&num={$num}&start={$start}"; 95 | 96 | $surl = 'http://www.google.com.hk/'; 97 | $ch = curl_init(); 98 | curl_setopt($ch, CURLOPT_URL, $url); 99 | curl_setopt($ch, CURLOPT_REFERER, $surl); 100 | curl_setopt($ch, CURLOPT_USERAGENT, 'MQQBrowser/Mini3.1 (Nokia3050/MIDP2.0)'); 101 | curl_setopt($ch, CURLOPT_HEADER, 0); 102 | curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 103 | curl_setopt($ch, CURLOPT_HTTPHEADER, array("Accept-Language:zh-cn,zh")); 104 | curl_setopt($ch, CURLOPT_MAXREDIRS, 1); 105 | //curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); 106 | curl_setopt($ch, CURLOPT_AUTOREFERER, 1); 107 | $contents = curl_exec($ch); 108 | curl_close($ch); 109 | $html = $contents; 110 | $html = mb_convert_encoding( $html, 'utf-8','gbk' ); 111 | $p = "|
(.*?)
','',$o_out[5]); 129 | $op['description'] = $o_out[4]; 130 | } 131 | if($op['url']==null)continue; 132 | $all[] = $op; 133 | } 134 | return $all; 135 | } 136 | 137 | }else{ 138 | return array(); 139 | } 140 | } 141 | 142 | //通过API获取谷歌搜索结果 143 | function search_api($k,$num,$pn,$site) 144 | { 145 | $k=urlencode(base64_encode($k)); 146 | $url = "http://google.cccyun.cn/api.php?ver=2&kw={$k}&page={$pn}&num={$num}&site={$site}"; 147 | $ch = curl_init(); 148 | curl_setopt($ch, CURLOPT_URL, $url); 149 | curl_setopt($ch, CURLOPT_HEADER, 0); 150 | curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 151 | $contents = curl_exec($ch); 152 | curl_close($ch); 153 | $json = json_decode(base64_decode($contents),true); 154 | return $json; 155 | } 156 | 157 | function wodemo($url) 158 | { 159 | preg_match("|http://(.*?)/|ims",$url,$out); 160 | $domain=$out[1]; 161 | 162 | $ch=curl_init($url); 163 | curl_setopt($ch, CURLOPT_REFERER, 'http://wodemo.com/'); 164 | curl_setopt($ch, CURLOPT_USERAGENT, 'MQQBrowser/Mini3.1 (Nokia3050/07.42) Via: MQQBrowser'); 165 | curl_setopt($ch, CURLOPT_HEADER, 0); 166 | curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); 167 | curl_setopt($ch, CURLOPT_HTTPHEADER, array("Accept-Language:zh-cn,zh;")); 168 | $html=curl_exec($ch); 169 | curl_close($ch); 170 | 171 | $page = "|
(.*?)
|ims"; 172 | 173 | $match = "|

(.*?)

(.*?)
(.*?)
|ims"; 174 | 175 | $file = "|下载|ims"; 176 | 177 | $description = "|(.*?)
|ims"; 178 | 179 | preg_match($page,$html,$out); 180 | $content = str_ireplace('下载!i','下载 | 中转下载',$actions); 194 | else 195 | $actions = preg_replace('!下载!i','下载',$actions); 196 | } 197 | //print_r($downurl);exit; 198 | 199 | preg_match($description,$content,$description_contents); 200 | $description_contents = $description_contents[1]; 201 | if(empty($description_contents)) 202 | $description_contents = '无'; 203 | 204 | $mo=array(); 205 | $mo['name'] = $name; 206 | $mo['info'] = $info; 207 | $mo['actions'] = $actions; 208 | $mo['description'] = $description_contents; 209 | return $mo; 210 | } 211 | 212 | function wodemo_entry($url) 213 | { 214 | preg_match("|http://(.*?)/|ims",$url,$out); 215 | $domain=$out[1]; 216 | 217 | $ch=curl_init($url); 218 | curl_setopt($ch, CURLOPT_REFERER, 'http://wodemo.com/'); 219 | curl_setopt($ch, CURLOPT_USERAGENT, 'MQQBrowser/Mini3.1 (Nokia3050/07.42) Via: MQQBrowser'); 220 | curl_setopt($ch, CURLOPT_HEADER, 0); 221 | curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); 222 | curl_setopt($ch, CURLOPT_HTTPHEADER, array("Accept-Language:zh-cn,zh;")); 223 | $html=curl_exec($ch); 224 | curl_close($ch); 225 | 226 | $title = "|(.*?)|ims"; 227 | $page = "|
(.*?)
|ims"; 228 | 229 | preg_match($title,$html,$out); 230 | $title = $out[1]; 231 | preg_match($page,$html,$out); 232 | $content = str_ireplace('=1048576&&$size<1073741824) 251 | { 252 | $dx=$size/1048576; 253 | $n=round($dx, 3); 254 | $dw="MB"; 255 | $size=$n.$dw; 256 | } 257 | else 258 | { 259 | $dx=$size/1073741824; 260 | $n=round($dx, 3); 261 | $dw="GB"; 262 | $size=$n.$dw; 263 | } 264 | return $size; 265 | } 266 | ?> --------------------------------------------------------------------------------