Repository navigation
4.0.0
Tagged on 2020-05-06.
Added
Scraper::__construct(array $guzzleOptions = [])passes options to the Guzzle client (merged with the defaults: 5 second connect timeout and theTomaj\ScraperUser-Agent) (#4).
Changed
- BREAKING CHANGE: the
$timeoutparameter ofScraper::parseUrl()was removed; passnew Scraper(['connect_timeout' => 10])instead. OgParseralso matches meta tags whosecontentattribute is not the last one.
Full Changelog: 3.0.0...4.0.0