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"?>
    <redirects rdcontinue="0|Main_Page|103365" />
      <page pageid="17" ns="0" title="Main Page">
          <rd pageid="95291" ns="0" title="/" />
          <rd pageid="95555" ns="0" title="Ru" />
          <rd pageid="100456" ns="0" title="Total War Arena" />
          <rd pageid="103216" ns="10016" title="Antiquity:Historical terms" />
          <rd pageid="103255" ns="10014" title="TWA:List of cosmetics" />
          <rd pageid="103286" ns="10014" title="TWA:Germanicus" />
          <rd pageid="103295" ns="10014" title="TWA:GameInfo What is Total War: ARENA" />
          <rd pageid="103298" ns="10014" title="TWA:Cavalry" />
          <rd pageid="103338" ns="10014" title="TWA:Miltiades" />
          <rd pageid="103364" ns="10014" title="TWA:Arminius" />