Pedro Ortiz Garcia-Miguel escribió:
Hello,
I am trying to get an article of my mediawiki making a program in python. I want to get the article's content in XML format, but I haven't seen any API's function which returns this content, so I am trying to get the article parsing the HTML file but this is very cumbersome.
Does someone know any easier way to get this content?
Greetings, Pedro.
You can use Special:Export Or, using the api, rvprop=content
http://es.wikipedia.org/w/api.php?action=query&prop=revisions&meta=s...