Node

net.ruippeixotog.scalascraper.model.Node
sealed trait Node

A representation of a HTML DOM node. Only two types of nodes are supported: element nodes (ElementNode) containing Element instances and text nodes (TextNode) containing plain text.

Most methods in scala-scraper deal with and return Element instances directly, instead of nodes. Node lists can be retrieved by using the childNodes and siblingNodes methods of an Element.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ElementNode[E]
class TextNode
In this article