pherserk / page-downloader
A php tool to download html pages and scrape basic informations
dev-master
2016-07-24 15:48 UTC
Requires
- php: >=7
- guzzlehttp/guzzle: ^6.2
- pherserk/html-doc-info-ex: dev-master
- pherserk/text-keywords-ex: dev-master
- sunra/php-simple-html-dom-parser: ^1.5
Requires (Dev)
- phpunit/phpunit: ~5.3.0
This package is not auto-updated.
Last update: 2024-12-19 03:29:24 UTC
README
![scrutinizer quality score] (https://scrutinizer-ci.com/g/Pherserk/PageDownloader/badges/quality-score.png?b=master)
![Build on scrutinizer] (https://scrutinizer-ci.com/g/Pherserk/PageDownloader/badges/build.png?b=master)
#Components
##PageDownloader
This component download a web page (html format) and extracts information from an html document.
Basic usage:
<?php use GuzzleHttp\Client; use Psr\Http\Message\Request; $client = new Client(); $request = new Request('GET', 'https://github.com/Pherserk/PageDownloader'); $downloader = new PageDownloader($client); $pageInformations = $downloader->download($request); var_dump($pageInformations);