Hello, calling pywikibot.ItemPage.fromPage(page) for each page takes a long time.
I'm using wikidata.preloadpages(list) to get page content in bulk, it works well, is there similar preload function for ItemPage.fromPage()?
Thanks!
Hello, calling pywikibot.ItemPage.fromPage(page) for each page takes a long time.
I'm using wikidata.preloadpages(list) to get page content in bulk, it works well, is there similar preload function for ItemPage.fromPage()?
Thanks!
There is DataSite.preload_entities
. Note that it doesn't maintain the implicit relationship between pages and items.
if there is preloadpages, that's logical that preload_entities exists too, thanks Matěj!