/crawler

Primary LanguageHTML

crawler

Command line crawler

Tech stack

System requirements

In order to build you need to install:

  • JDK 1.8 (recommended installation via SDKMAN!)

Build

$ ./gradlew clean build

Provided binary

The tool is provided as a binary jar in the project root:

$ ./java -jar crawler.jar </path/to/origin.html> </path/to/target.html> <element-id-to-find>

Output:

/html[0]/body[1]/div[0]/div[1]/div[2]/div[0]/div[0]/div[1]

Output 2:

element not found