jsoup Java HTML Parser

org.jsoup : jsoup

jsoup is a Java library for working with real-world HTML. It provides a very convenient API for fetching URLs and extracting and manipulating data, using the best of HTML5 DOM methods and CSS selectors. jsoup implements the WHATWG HTML5 specification, and parses HTML to the same DOM as modern browsers do.

Sep 30, 2021
1.4k usages
9.2k stars

Add dependency in Maven / Gradle

<!-- https://jmaven.com/dependency/org.jsoup/jsoup --> 
<dependency>
    <groupId>org.jsoup</groupId>
    <artifactId>jsoup</artifactId>
    <version>1.14.3</version>
</dependency>

1. Add dependency to a Maven project

Maven: Add the org.jsoup:jsoup library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>org.jsoup</groupId>
  <artifactId>jsoup</artifactId>
  <version>1.14.3</version>
</dependency>
</dependencies>

To install org.jsoup:jsoup library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the org.jsoup:jsoup library to the dependencies section of your build.gradle file:

dependencies {
implementation 'org.jsoup:jsoup:1.14.3'
}

Gradle Kotlin DSL: Add the org.jsoup:jsoup library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("org.jsoup:jsoup:1.14.3")
}

3. Add dependency to a SBT Scala project

Scala: Add the org.jsoup:jsoup library to your build.sbt file:

libraryDependencies += "org.jsoup" % "jsoup" % "1.14.3"

4. Add dependency to a Grape project

Grape: Add an annotation org.jsoup:jsoup library to your groovy script file:

@Grapes(
    @Grab('org.jsoup:jsoup:1.14.3')
)

Compile Dependencies (0)

Group / Artifact Usage

Provided Dependencies (1)

Group / Artifact Usage
com.google.code.findbugs » jsr305 7k

Test Dependencies (4)

Recommended for You

Maven Wagon that can resolve and retrieve artifacts from Google Storage

Android Simple Widgets and Support classes.

2 usages

Microsoft JDBC Driver for SQL Server Authentication Library for Windows

2 usages
848 stars

More from Group

jsoup is a Java library for working with real-world HTML. It provides a very convenient API for fetching URLs and extracting and manipulating data, using the best of HTML5 DOM methods and CSS selectors. jsoup implements the WHATWG HTML5 specification, and parses HTML to the same DOM as modern browsers do.

1.4k usages
9.2k stars
© 2022 JMaven.com