aboustayyef/extractor
Composer 安装命令:
composer require aboustayyef/extractor
包简介
a wrapper class around Feeling Lucky's PHP Readability to extract html, text and title from a URL
关键字:
README 文档
README
#Text
This is a utility class for extracting text from urls. It is a simple wrapper around the (no longer updated) PHP readability class by fivefilters.
##Usage
<?php
use Aboustayyef\Extractor;
$document = new Extractor("http://source/to/document.html");
$title = $document->getTitle();
$text = $document->getText();
?>
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-06-14