AbstractUriElement
class.
The Link
class is now a child of AbstractUriElement
.Image
class to crawl images and parse their src
attribute,
and selectImage
, image
, images
methods in the Crawler
(the image version of the equivalent link
methods).Link
, Form
and FormField
classes have been changed from
\DOMNode
to DOMElement
. Using any other type of DOMNode
was triggering fatal errors in previous
versions. Code extending these classes will need to update the typehints when overwriting these methods.Crawler::addXmlContent()
removes the default document namespace again if it's an only namespace.Crawler::filterXPath()
and Crawler::filter()
Crawler::addContent()
Crawler::addXmlContent()
no longer removes the default document
namespace