1 Star 0 Fork 0

yang95 / crawlerpic

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
__INIT__.php 453 Bytes
一键复制 编辑 原始数据 按行查看 历史
yangakw 提交于 2017-10-05 23:26 . crawler
<?php
/**
* Created by PhpStorm.
* User: lyang
* Date: 2016/11/19
* Time: 14:34
*/
date_default_timezone_set("Asia/Shanghai");
define("ROOT",__DIR__);
/**
* 解析html
*/
require "./lib/simple_html_dom.php";
/**
* 自动加载类
*/
spl_autoload_register("craw_autoload");
function craw_autoload($name){
$name = str_replace("\\","/",$name);
$file = ROOT."/".$name.'.php';
if(file_exists($file) ){
require $file;
}
}
1
https://gitee.com/yang95/crawlerpic.git
git@gitee.com:yang95/crawlerpic.git
yang95
crawlerpic
crawlerpic
master

搜索帮助