Hi. I found that
site = pywikibot.Site("en") page = pywikibot.Page(site, "Category:NG:Dev.Team_games") print(page.text)
works well, but
site = pywikibot.Site("en") page = pywikibot.Page(site, "NG:Dev.Team_games", 14) print(page.text)
raises an error:
NoUsernameError: Failed OAuth authentication for wikipedia:ng: The authorization headers in your request are for a user that does not exist here
I guess pywikibot treated the title as a interwiki. So how to make it parses namespace id (i.e. 14) first? Thanks.
(version 9.6.0)