Answer the question
In order to leave comments, you need to log in
How to implement Parsing the page, and sending a request, in java?
The essence of the question is this, there is a certain site, I make a request (for example, search by movie title), I get an answer, parse it and take it from there. But I don’t know how to do it at all, because away from the web.
Answer the question
In order to leave comments, you need to log in
https://jsoup.org/
You still have to know HTML (at least understand it).
Antonzm : Look at the gson library , in my opinion it will be more convenient, and there are many examples on gitgub, as well as video tutorials.
Yes, and faster in tests , though the current is on small json files)
And also about the choice of a library for working with http on Habré there is an article , though for Android, but I think that this is not a problem.
P.S. What lessons on Android and Java in working with gson are no different.
I had to do something like this.
I managed with the standard HTTPRequest + HTMLCLeaner.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question