Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jsoup like Element, Document classes #26

Open
Vaibhav2002 opened this issue Oct 13, 2023 · 3 comments
Open

Jsoup like Element, Document classes #26

Vaibhav2002 opened this issue Oct 13, 2023 · 3 comments

Comments

@Vaibhav2002
Copy link

Does Ksoup have features like Document, Element, etc classes, like Jsoup has?

@Queatz
Copy link

Queatz commented Apr 20, 2024

Also wondering. Was thinking to use this library to extract og:* metadata

@vanniktech
Copy link

All of this is supported by https://github.com/fleeksoft/ksoup - @MohamedRejeb are there any plans to work together on Ksoup support for Kotlin Multiplatform? To be honest, I don't care which library I am using but the one from @fleeksoft seems superior as it really has everything from Jsoup, including thins that I've asked:

#17
#18

In addition it has the benefit that the API names are the same, so you can just google whatever with jsoup and adjust the syntax to Kotlin. The only drawback is that your library seems to be far more active though.


I've switched to the other library for now since I also need Element, Document etc for full parsing of HTML.

I believe that other ksoup library also has support for:

#13
#5
#4

It would be a shame to do the work twice. Also it's rather confusing that there are two libraries which are named exactly the same and seem to be doing the same from the outside.

@MohamedRejeb
Copy link
Owner

Hi,
You are right @vanniktech . The problem is that the other library is backed by a company. I will try to reach them and see if we can do a collaboration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants