GitHub repository: thfrei/onenote_export
Description: This Python script exports all the OneNote notebooks linked to your Microsoft account to HTML files.