8

I have a aplication Scraping Android App and I want get a IOS version using Kotlin Multiplaform and need replace Jsoup.

I can use ktor as http client for post command and other, but, I need a powerful HTML parser.

Any ideas?

MiguelAngel_LV
  • 1,200
  • 5
  • 16
  • I found this one, i think its what you expected. https://github.com/Kotlin/kotlinx.html. – Dev007 Jan 14 '23 at 09:11
  • Not. These is "the inverse" of I want. I need parse HTML, these library do HTML. – MiguelAngel_LV Jan 14 '23 at 14:27
  • It's not strictly compatible to KMM but the approach of this lib is the right one I guess: https://github.com/T-Fowl/ktor-jsoup . It adds a Jsoup parser to Ktor client. I'm also interest of an answer for your problem, also for KMM compatibility. – BapNesS Jan 17 '23 at 00:31

1 Answers1

2

Recently I came across this KMP library ksoup

Dancho
  • 21
  • 1
  • 3