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>
    <logevents lestart="2017-11-30T11:46:16Z" />
  </query-continue>
  <query>
    <logevents>
      <item logid="4335" ns="0" title="Помощь с платежами" pageid="366" type="patrol" action="patrol" user="A Kostjukevich" timestamp="2022-07-14T18:06:07Z" comment="">
        <patrol cur="4223" prev="4222" auto="1" />
      </item>
      <item logid="4334" ns="0" title="Помощь с платежами" pageid="366" type="patrol" action="patrol" user="A Kostjukevich" timestamp="2022-07-14T18:05:46Z" comment="">
        <patrol cur="4222" prev="3942" auto="1" />
      </item>
      <item logid="4333" ns="0" title="Артефакты" pageid="255" type="patrol" action="patrol" user="A Kostjukevich" timestamp="2019-08-31T07:29:28Z" comment="">
        <patrol cur="4221" prev="4215" auto="1" />
      </item>
      <item logid="4332" ns="0" title="Лиги" pageid="1229" type="patrol" action="patrol" user="A Kostjukevich" timestamp="2019-08-31T07:09:35Z" comment="">
        <patrol cur="4220" prev="4219" auto="1" />
      </item>
      <item logid="4331" ns="0" title="Лиги" pageid="1229" type="patrol" action="patrol" user="A Kostjukevich" timestamp="2019-08-31T07:06:14Z" comment="">
        <patrol cur="4219" prev="4218" auto="1" />
      </item>
      <item logid="4330" ns="0" title="Лиги" pageid="1229" type="patrol" action="patrol" user="A Kostjukevich" timestamp="2019-08-31T07:05:11Z" comment="">
        <patrol cur="4218" prev="4217" auto="1" />
      </item>
      <item logid="4329" ns="0" title="Лиги" pageid="1229" type="patrol" action="patrol" user="A Kostjukevich" timestamp="2019-08-31T05:51:15Z" comment="">
        <patrol cur="4217" prev="4212" auto="1" />
      </item>
      <item logid="4328" ns="0" title="Наказания за ПКшество" pageid="1128" type="patrol" action="patrol" user="A Kostjukevich" timestamp="2019-03-10T11:34:32Z" comment="">
        <patrol cur="4216" prev="4196" auto="1" />
      </item>
      <item logid="4327" ns="2" title="Участник:Tarle" pageid="0" type="newusers" action="create2" userid="7" user="A Kostjukevich" timestamp="2018-06-25T19:44:41Z" comment="прост" />
      <item logid="4326" ns="0" title="Артефакты" pageid="255" type="patrol" action="patrol" user="A Kostjukevich" timestamp="2018-05-04T10:56:41Z" comment="">
        <patrol cur="4215" prev="4163" auto="1" />
      </item>
    </logevents>
  </query>
</api>