Skip to content

Releases: esafirm/skrape

1.4.0: Placeholder transformer

29 May 02:44
bdc452f
Compare
Choose a tag to compare

With PlaceholderTransformer you can achieve more dynamic query

val page = Page("https://twitter.com/{{USERNAME}}/likes") {
  query("td {{TAG}}") {
    "title" to text()
  }
}

val transformer = PlaceholderTransformer(mapOf(
  "USERNAME" to "esafirm",
  "TAG" to "a"
))

// {{USERNAME}} will be replaced by "esafirm" and {{TAG}} with "a"
val transformedPage = transformer.transform(page)

1.3.0: Chrome Driver Support!

22 May 09:39
Compare
Choose a tag to compare

Changelog

  • Chrome Driver Support
  • Modularize every adapter to modules
  • Refactor AbstractPageAdapter