I am trying to use pywikibot, but I can't any script of the scripts. They all return the same error message:
python3 .\pwb.py .\scripts\listpages.py
ERROR: Unable to execute script because no generator was defined.
Use -help for further information.
I am not experienced in python or pywikibot, so I am not sure what's going on. What am I missing?
Okay, page generators are predifined switches you have to use:
In the above example
-search
is a page generator and-limit
is a filter.More information can be found here.