扒站【静态】
GET
无需 Key
运行中
接口简介
提供工具进行扒站请勿用于违规扒站。请确保您拥有目标网站的版权或授权,此代码仅供学习和技术研究使用,严禁用于侵权或网络诈骗。
接口地址
https://api.lolimi.cn/API/baz/api请求示例
测试访问https://api.lolimi.cn/API/baz/api?url=返回预览
TEXT{
"code": 200,
"success": true,
"msg": "仿站抓取成功,文件已打包完成",
"copyright": "由桑帛云APIhttps://api.lolimi.cn提供工具进行扒站请勿用于违规扒站。请确保您拥有目标网站的版权或授权,此代码仅供学习和技术研究使用,严禁用于侵权或网络诈骗。",
"data": {
"task_id": "e3f8709da7b91a98f35eb4c0831298",
"target_url": "https://demo",
"file_info": {
"file_name": "site_e3f8709da7b91a98f35eb4c0831298.zip",
"file_size": "1.3MB",
},
"download_url": "https://api.lolimi.cn/API/baz/downloads/site_e3f8709da7b91a98f35eb4c0831298.zip",
"preview_url": "https://api.lolimi.cn/API/baz/previews/e3f8709da7b91a98f35eb4c0831298/index.html",
"expire_info": {
"expire_in": "30分钟",
"expire_time": "2025-12-08 22:43:02",
"tip": "文件将在过期时间后自动删除,请及时下载"
},
"use_tip": [
"1. 点击下载链接获取打包后的网站文件",
"2. 解压后打开index.html即可本地预览",
"3. 资源已本地化,无需联网即可正常访问",
"4. 若预览异常,可能是目标网站存在反爬或资源依赖第三方服务"
]
}
}
请求参数
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
| url | string | Required | 需要扒取的网址 |
返回参数
| 参数名 | 类型 | 描述 |
|---|---|---|
| code | int | 状态码 |
参数配置
登录获取 KeyResponseWaiting...
<?php
$url = "https://api.lolimi.cn/API/baz/api";
$params = array (
'url' => 'value',
);
$url .= '?' . http_build_query($params);
$res = file_get_contents($url);
echo $res;