skrape{it}
1.1.X
1.1.X
  • Introduction
  • Why it exists
  • overview
    • Setup
    • Who should be using it
  • Http Client
    • Overview
    • Fetchers
      • HttpFetcher
      • BrowserFetcher
      • AsyncFetcher
      • Implement your own
    • Request Options
    • Pre-configure client
    • Response
      • Status
      • Cookies
  • Html Parser
    • Parsing HTML
  • assertions
    • expect content
  • How to Use
    • Testing
    • Scraping
    • JS-rendered sites
  • Examples
    • Grab all links from a Website
    • Creating a RESTful API (Spring-Boot)
  • GitHub Repo
  • Extensions
    • MockMvc
      • Getting Started
      • GitHub Repo
    • Ktor
      • Getting Started
      • GitHub Repo
  • About skrape{it}
Powered by GitBook
On this page

Was this helpful?

  1. overview

Who should be using it

Deserialize HTML? Why should that be useful?

PreviousSetupNextOverview

Last updated 4 years ago

Was this helpful?

Skrape{it} focuses first and foremost on parsing html, but it's possible to parse any XML related markup specification, like:

  • SVG

  • RSS

  • GraphML

  • UML

  • OSM

  • GPX

  • XMPP

  • MathML

  • ...

some thoughts when it is helpful to use skrape{it}:

"I want to grab some data from a website that's not providing an API!"

"I want to parse HTML from a raw String or a file in an intuitive and highly readable way, without the need of messing around with crazy CSS-selector query knowledge!"

"I would like to test the endpoints of my application that produces HTML/XML in a meaningful and idiomatic way!"

"I'm running a huge Selenium suite that is checking the appearance of certain elements and its values. Therefore I'm looking for a fast and reliable alternative with less overhead!"

"I'm maintaining a complex application with high SEO requirements, therefore i want to have e2e tests checking the relevant meta tag information!"

"I need to refactor an (legacy or hard to mock) application that produces HTML/XML and want to have high level tests that ensure my changes fulfill the expectations!"

"I'm an Android developer and want to write proper tests for my Manifest file, XML Layout files and other XML related stuff within my project!"

(Scalable Vector Graphics)
(Rich Site Summary)
(Graphical Markup Language)
(Unified Modeling Language)
(OpenStreetMap)
(GPS Exchange Format)
(Extensible Messaging and Presence Protocol)
(Mathematical Markup Language)