Automate export of Notion workspace
pip install --upgrade notion-backup
backup_notion --output-dir='.'
The script obtains an API token by requesting a temporary password to be sent to your email address.
Login information are stored in ~/.notion_backup.conf
The export zip is generated and downloaded to the specified directory.