https://kotlinlang.org logo
#android
Title
# android
i

Ive Vasiljevic

09/01/2019, 7:48 PM
Can someone recommend a good Android Library for Web Scraping using Kotlin? I've seen a couple of Java libs like Jsoup.
m

Mark Murphy

09/01/2019, 8:04 PM
Most, if not all, Java libraries can be used by Kotlin/JVM in an Android app. Did you run into a particular problem with one of the Java ones? A quick search turned up https://github.com/skrapeit/skrape.it, though I have not tried it.
i

Ive Vasiljevic

09/01/2019, 8:06 PM
So I can just use Jsoup java lib along with my Kotlin code? I have not tried it yet.
m

Mark Murphy

09/01/2019, 8:07 PM
Yes, using JSoup in an Android Kotlin project works. This sample app from Elements of Android Jetpack uses it: https://gitlab.com/commonsguy/cw-jetpack-kotlin/tree/v0.4/Bookmarker
i

Ive Vasiljevic

09/01/2019, 8:10 PM
Great. Thank you very much!
👍 1