接口信息
接口状态: 正常
总调用: 92
请求方法: GET
需要登录
请求地址:
https://wsapi.top/API/wzpc.php
请求参数
参数名类型必填说明
apikeystring限时注册免费赠送10000额度
urlstring目标网站
typestring资源方式,rd:保留资源及原目录结构;rl:全部存放根目录;r:不保留资源,远程引入
p2hstring可留空,填yes时页面的php跳转导向变成html,即php页面也可也正常打开无需自己修改,保留参数传递,适宜后续修改
copstring爬取方式,single为单页,level1为当前页所含页面,recursive为智能爬取所有页面
cookiestring带cookie访问,可留空
outstringurl黑名单,多个用|分隔,url包含时跳过
maxpagesstring最大页面数,留空使用默认值
maxfilesstring最大资源文件数,留空使用默认值
在线测试
此处将显示接口返回结果...
调用示例
<?php
$url = 'https://wsapi.top/API/wzpc.php';
$params = ['apikey' => 'YOUR_VALUE', 'url' => 'YOUR_VALUE', 'type' => 'YOUR_VALUE', 'p2h' => 'YOUR_VALUE', 'cop' => 'YOUR_VALUE', 'cookie' => 'YOUR_VALUE', 'out' => 'YOUR_VALUE', 'maxpages' => 'YOUR_VALUE', 'maxfiles' => 'YOUR_VALUE', ];
$url .= '?' . http_build_query($params);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
import requests
url = "https://wsapi.top/API/wzpc.php"
params = {
    'apikey': 'YOUR_VALUE',
    'url': 'YOUR_VALUE',
    'type': 'YOUR_VALUE',
    'p2h': 'YOUR_VALUE',
    'cop': 'YOUR_VALUE',
    'cookie': 'YOUR_VALUE',
    'out': 'YOUR_VALUE',
    'maxpages': 'YOUR_VALUE',
    'maxfiles': 'YOUR_VALUE',}
response = requests.get(url, params=params)
print(response.text)
const url = new URL('https://wsapi.top/API/wzpc.php');
const params = {
    'apikey': 'YOUR_VALUE',
    'url': 'YOUR_VALUE',
    'type': 'YOUR_VALUE',
    'p2h': 'YOUR_VALUE',
    'cop': 'YOUR_VALUE',
    'cookie': 'YOUR_VALUE',
    'out': 'YOUR_VALUE',
    'maxpages': 'YOUR_VALUE',
    'maxfiles': 'YOUR_VALUE',};
Object.keys(params).forEach(k => url.searchParams.append(k, params[k]));
fetch(url).then(r => r.text()).then(d => console.log(d));
API列表