I’m using Wikipedia JSON API and I’m bring to retrieve the page content without the links
for example,
https://en.wikipedia.org/w/api.php?action=query&format=json&titles=May_21&prop=revisions&rvprop=content&rvsection=1
For example:
[[293]] – Roman Emperors [[Diocletian]] and [[Maximian]] appoint [[Galerius]] as [[Caesar (title)|''Caesar'']] to Diocletian, beginning the period of four rulers known as the [[Tetrarchy]].
Replace &ndash with -
[[Caesar (title)|''Caesar'']] Should be Caesar
I’m using Objective-C
How can I retrieve the same page content, but without the links characters ?
Thanks!
that should it be 🙂
results in: