Notion to Confluence importer
In Notion go to Settings and members > Settings > Export all workspace content
And in the options put:
- Export format: HTML
- Include content: Everything
- Create folders for subpages: yes
Extract the files and leave them in this folder
Install requests and BeautifulSoup
pip install requests
pip install BeautifulSoup
Create userdata.json with:
{
"username":"<usuario>",
"password":"<Api Token>",
"URL":"<url>"
}
In importer.py edit the line 128:
end_data = content("<notion export folder>", "<confluence space id>")
And run importer.py