Is this scraping the HTML pages, or fetching the wikitext through the API and rendering it?
https://github.com/yashsinghcodes/wik/blob/main/wik/info.py#...
https://github.com/yashsinghcodes/wik/blob/main/wik/info.py#...