User:0x90 rekt/scripts/getCategories.py

This is a work in progress to collect categories and related categories from pages.