# thicket-php-tools **Repository Path**: loneil/thicket-php-tools ## Basic Information - **Project Name**: thicket-php-tools - **Description**: 用于工程中的杂七杂八开发工具 - **Primary Language**: PHP - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2015-12-02 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #thicket-php-tools 为了面包 # 文件简单介绍 bot_web_page.php #单网页抓取,除了基本的html和css和js文件外,会进入js和css文件里抓取相关图片。 # 使用方法: $url = 'http://www.qq.com/'; ## 单页抓取 $bot = new botFullwebpage(); $bot->onePage($url); ## 整站抓取 $bot = new botFullwebpage(); $bot->webMap($url); foreach ($bot->urls as $url) { $bot->onePage($url); }