You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
    <revisions rvcontinue="976" />
      <page pageid="1" ns="0" title="Main Page">
          <rev user="Ryentzer" timestamp="2019-10-03T22:03:50Z" comment="Undo revision 1008 by [[Special:Contributions/Khoancatbetong|Khoancatbetong]] ([[User talk:Khoancatbetong|talk]])" />
          <rev user="Khoancatbetong" timestamp="2019-10-01T07:24:52Z" comment="/* BBEdit Extras */" />
          <rev user="Admin" timestamp="2019-09-02T02:40:44Z" comment="Undo revision 1001 by [[Special:Contributions/Satthepsaigonvn|Satthepsaigonvn]] ([[User talk:Satthepsaigonvn|talk]])" />
          <rev user="Satthepsaigonvn" timestamp="2019-08-31T04:30:14Z" comment="" />
          <rev user="Gk" timestamp="2019-07-13T01:35:32Z" comment="" />