Open fushar opened 9 years ago
Does Wikipedia have an API we can use? I think the wiki result will be much better if we use the API. No need to parse the HTML too.
We can simply retrieve the Wiki test and parse the Mediawiki syntax to get only the text (without formatting, style, citation, etc.)
If you use
/leli
, it will display the first paragraph of a wikipedia article. Sometimes it will contain citations, like[1]
,[2]
, etc. It would be better to remove them.