For Python 3
- Clone/Download this repo
- Install
pip
andvirtualenv
cd
into this repovirtualenv -p /usr/bin/python3 venv
source venv/bin/activate
pip install -r pdfcheck_requirements.txt
- copy
wikitolearn_family.py
tovenv/lib/python*/site-packages/pywikibot/families
- set
TG_API_KEY
andTG_CHAT_ID
env variables python bot.py <r|a> [minutes]
r
if you want to scan recent pages- also pass
minutes
, pages changed in the last 'minutes' minutes will be checked
- also pass
a
if you want to scan all scannable pages