skrape{it} is a Kotlin-based HTML/XML testing and web scraping library that can be used seamlessly in Spring-Boot, Ktor, Android or other Kotlin-JVM projects. The ability to analyze and extract HTML including client-side rendered DOM trees and all other XML-related markup specifications such as SVG, UML, RSS,... makes it unique. It places particular emphasis on ease of use and a high level of readability by providing an intuitive DSL. First and foremost skrape{it} aims to be a testing tool (not tied to a particular test runner), but it can also be used to scrape websites in a convenient fashion.
In addition, extensions for known testing libraries are provided to extend them with the mentioned skrape{it} functionality. Currently available:
You'll always find latest documentation, release notes and examples at https://docs.skrape.it
All our official and stable releases will be published to mavens central repository.
Gradle
dependencies {
implementation("it.skrape:skrapeit-core:0.6.0")
}
Maven
<dependency>
<groupId>it.skrape</groupId>
<artifactId>skrapeit-core</artifactId>
<version>0.6.0</version>
</dependency>
We are offering snapshot releases via jitpack. Thereby you can install every commit and version you want. But be careful, these are non official releases and may be unstable as well as breaking changes can occur at any time.
Gradle
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
implementation("com.github.skrapeit:skrape.it:master-SNAPSHOT"
}
Maven
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
...
<dependency>
<groupId>com.github.skrapeit</groupId>
<artifactId>skrape.it</artifactId>
<version>master-SNAPSHOT</version>
</dependency>