Manual:Pywikibot/xmlreader.py
Appearance
Wikimedia Git repository has this file: pywikibot/xmlreader.py |
Pywikibot scripts |
---|
|
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.