1

Wikipedia has a feature called Special:Random that when added to the end of "http://en.wikipedia.org/wiki/" will direct to a random page. For a website that I am making, I would like to be able to obtain a 'random' wikipedia article url, and after that, I can just parse the url to get the article name. I don't want the url I receive in a string to have Special:Random in it but the article name. Any ideas on how I may be able to implement this?

4

0 回答 0