Repository navigation
1.0.0
Tagged on 2015-07-28.
Initial release.
Added
Scraper::parse($content)extracts page meta information from an HTML string and returns aMetaobject.Scraper::parseUrl($url, $timeout = 5)downloads the page with Guzzle 6 (5 second connect timeout) and parses it.- Parsed fields:
<title>,description,keywordsandauthormeta tags, and the Open Graph propertiesog:title,og:description,og:type,og:url,og:site_nameandog:image(HTML entities are decoded). - Requires PHP 5.5 or newer.