com.marekkadek.scraper.dom.scala Maven / Gradle / Ivy
The newest version!
package com.marekkadek.scraper
/**
* Represents HTML Document
*/
trait Document {
def location: String
def root: Element
}
trait Element {
def select(query: String): Iterable[Element]
def tagName: String
def text: String
def attr(name: String): Option[String]
def children: Iterable[Element]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy