Manual:Pywikibot/xmlreader.py
Wikimedia Git repository has this file: pywikibot/xmlreader.py |
xmlreader.py is a Pywikibot module used to read XML dumps.
Each XmlEntry object represents a page, as read from an XML source.
The XmlDump class reads a pages_current XML dump (like the ones offered on https://dumps.wikimedia.org/backup-index.html) and offers a generator over XmlEntry objects which can be used by other bots.