Skip to content

4.0.0

Choose a tag to compare

@tomaj tomaj released this 22 Nov 12:39
· 30 commits to master since this release
95bc9be

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 the Tomaj\Scraper User-Agent) (#4).

Changed

  • BREAKING CHANGE: the $timeout parameter of Scraper::parseUrl() was removed; pass new Scraper(['connect_timeout' => 10]) instead.
  • OgParser also matches meta tags whose content attribute is not the last one.

Full Changelog: 3.0.0...4.0.0