# 仿站-扒网站工具 **Repository Path**: lcfms/cmstool-plagiarism ## Basic Information - **Project Name**: 仿站-扒网站工具 - **Description**: 仿站、扒网站工具,看好哪个网站,指定好URL,自动扒下来做成模版。所见网站,皆可为我所用! - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 5 - **Forks**: 2 - **Created**: 2023-10-24 - **Last Updated**: 2025-06-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # cmstool-plagiarism ### **软件介绍** 扒网站工具,看好哪个网站,指定好URL,自动扒下来做成模版。所见网站,皆可为我所用! 体验地址:https://demo.56q7.com/backend QQ讨论群:237626046 ### **软件架构** 软件依赖【云起开发平台】做界面控制,但是如果你想移植到其他框架,也很容易。 1、把核心目录app/admin/service/cmstool里文件拷贝出来 2、把工具类app/common/library/Http.php拷贝出来 3、根据具体情况重写命名空间,执行下面代码 ``` //你想要扒的网页地址 $url='https://www.56q7.com/'; //生成的html文件 $template='index.html'; //图片格式 $imgcode='img[src],img[data-lazyload-img],div[img-data]'; //cookies,需要登陆的网页可以加上才能扒 $cookie=''; $service=new \app\admin\service\cmstool\Plagiarism(); $service->make($url,$template,$imgcode); $service->setCookie($cookies); header('Content-Type: text/html'); header('Cache-Control: no-cache'); header('X-Accel-Buffering: no'); while($service->progress()){} exit; ``` ### **软件安装** 1. 安装[【云起开发平台】]() 2. 在应用扩展中下载并安装插件“仿站、扒站工具”![](1.png) 3. 刷新页面,可以看到在开发管理中多了一个“仿站工具”![](2.png) 4. 开扒![](3.png)![](4.png)![](5.png)