Object

net.ruippeixotog.scalascraper.scraper

ContentExtractors

Related Doc: package scraper

Permalink

object ContentExtractors

An object containing HtmlExtractor instances for extracting primitive data such as text, elements or attributes, as well as more complex information such as form data. Because they do perform little to no navigation through the document, they are typically preceded by a CSS query defining the location in the HTML document of the data to be retrieved.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ContentExtractors
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val allText: HtmlExtractor[Element, String]

    Permalink

    An extractor for the text in all matched elements.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def attr(attr: String): HtmlExtractor[Element, String]

    Permalink

    An extractor for the value of an attribute of the first matched element.

    An extractor for the value of an attribute of the first matched element.

    attr

    the attribute name to extract

    returns

    an extractor for an attribute of the first matched element.

  7. def attrs(attr: String): HtmlExtractor[Element, Iterable[String]]

    Permalink

    An extractor for a lazy iterable of the value of an attribute of each matched element.

    An extractor for a lazy iterable of the value of an attribute of each matched element.

    attr

    the attribute name to extract

    returns

    an extractor for a lazy iterable of the value of an attribute of each matched element.

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val element: HtmlExtractor[Element, Element]

    Permalink

    An extractor for the first element matched.

  10. val elementList: HtmlExtractor[Element, List[Element]]

    Permalink

    An extractor for a list of the matched elements.

  11. val elements: HtmlExtractor[Element, ElementQuery[Element]]

    Permalink

    An extractor for an ElementQuery with the matched elements.

  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. val formData: HtmlExtractor[Element, Map[String, String]]

    Permalink

    An extractor for the form data present in the matched elements.

  16. val formDataAndAction: HtmlExtractor[Element, (Map[String, String], String)]

    Permalink

    An extractor for the form data present in the matched elements, together with the submission URL in the form.

  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. val pElement: PolyHtmlExtractor { type Out[E] = E }

    Permalink

    An extractor for the first element matched.

    An extractor for the first element matched. It retains the concrete type of the elements being extracted.

  24. val pElementList: PolyHtmlExtractor { type Out[E] = List[E] }

    Permalink

    An extractor for a list of the matched elements.

    An extractor for a list of the matched elements. It retains the concrete type of the elements being extracted.

  25. val pElements: PolyHtmlExtractor { type Out[E <: net.ruippeixotog.scalascraper.model.Element] = net.ruippeixotog.scalascraper.model.ElementQuery[E] }

    Permalink

    An extractor for an ElementQuery with the matched elements.

    An extractor for an ElementQuery with the matched elements. It retains the concrete type of the elements being extracted.

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. val text: HtmlExtractor[Element, String]

    Permalink

    An extractor for the text in the first element matched.

  28. val texts: HtmlExtractor[Element, Iterable[String]]

    Permalink

    An extractor for a lazy iterable of the text in each element matched.

  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped