dotpack/php-boiler-pipe
Composer 安装命令:
composer require dotpack/php-boiler-pipe
包简介
PhpBoilerPipe. Boilerplate Removal and Fulltext Extraction from HTML pages
README 文档
README
Project Archived
This project is no longer maintained. Please refer to pforret/pf-article-extractor for further updates and continued development.
Thank you for your support!
Boilerplate Removal and Fulltext Extraction from HTML pages.
Partial implementation of https://github.com/kohlschutter/boilerpipe in PHP. Requires PHP >= 5.4.
Example
# html $path = "http://example.com/some-article.html"; $data = file_get_contents($path); # code $ae = new DotPack\PhpBoilerPipe\ArticleExtractor(); echo $ae->getContent($data) . "\n";
统计信息
- 总下载量: 4.91k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 17
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-11-20