Easily import Guru collections to Confluence.
Currently tested with:
https://app.getguru.com/exported collection as ZIPhttps://?????.atlassian.net/wikiAtlassian Confluence Cloud
python3 guruCollectionToConfluence.py \
--collection-dir ../export-20221201010000-/ \
--user <user@org.com> \
--api-key <apikey>
--space-key '~PRIVATESPACE' \
--parent 999999 \
--organization myorg \
--date-disclaimer yes \
--migrate-tags yes
--collection-dir: path to the extracted guru collection--user: email address that is associated with the API key--api-key: API key associated with the user (https://id.atlassian.com/manage-profile/security/api-tokens)--space-key: Confluence space that will contain the imported collection (see below "obtaining space key")--parent: page ID that should contain the imported collections (see below "obtaining parent page id")--organization: the subdomain part / name of the organization (i.e. "bestcorp" if the Confluence url is "bestcorp.atlassian.net")--date-disclaimer: yes will add disclaimer with the original date at the top of each page--migrate-tags: yes will migrate tags (as labels) if were exported


