Answer the question
In order to leave comments, you need to log in
How to implement Wikipedia parsing in Java?
It is necessary to write a program that reads a search query from the console and displays the result of a Wikipedia search. The task is divided into 4 stages:
1. Read the request
2. Make a request to the server 3.
Parse
the
response
4. Display the result . I encounter parsing in Java for the first time
Answer the question
In order to leave comments, you need to log in
Good afternoon!
I think that there are various options for implementing your idea:
1) write a parser using jsoup.
2) use the API - https://www.mediawiki.org/wiki/API:Main_page/ru
3) download the finished database, and then work with it -
https://dumps.wikimedia.org/backup-index. html
https://en.wikipedia.org/wiki/Wikipedia:Database_d...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question