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"?>
<api>
  <query-continue>
    <allimages gaicontinue="22672_254455387441_604582441_4236515_1503308_n.jpg" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1622" ns="6" title="Fil:.arj.jpg" />
      <page pageid="1623" ns="6" title="Fil:.arjsmask300.jpg" />
      <page pageid="2747" ns="6" title="Fil:150579142 1554629744731981 8138027418639064751 n (1).jpg" />
      <page pageid="1408" ns="6" title="Fil:20150529 202439 ännu mindre.jpg">
        <duplicatefiles>
          <df name="Jacob.jpg" user="Kattiz" timestamp="2015-06-01T12:48:45Z" />
        </duplicatefiles>
      </page>
      <page pageid="1460" ns="6" title="Fil:20150819 002936.jpg" />
      <page pageid="1635" ns="6" title="Fil:2016-05-13 21.20.00 2.jpg" />
      <page pageid="2021" ns="6" title="Fil:20170204 112132 (1).jpg" />
      <page pageid="2116" ns="6" title="Fil:20170826 150054(1) liten.jpg" />
      <page pageid="2207" ns="6" title="Fil:20171112 155700.jpg" />
      <page pageid="959" ns="6" title="Fil:207295 4450832018 8241 n.jpg" />
    </pages>
  </query>
</api>