Manual:Pywikibot/djvutext.py/zh

djvutext.py extracts the ocr text from a djvu page image and uploads it to the corresponding page in the page namespace on Wikisource. In order for the bot to function, a djvu file must be in the same folder pywikibot runs from and it must be identical to the djvu used for the index file on Wikisource.

On a blank page this script will leave a blank page and set the pagequality level=0 (without text) and the user= to the name of your bot (e.g. ).

参数
支持以下参数：

所有其它参数将被视为单个页面标题的一部分，并且机器人将仅在该单个页面上工作.