How to parse DIVI theme row page content to html code

I need to parse the page and post content created using the DIVI theme’s drag-and-drop elements. My goal is to export this content to a Strapi website. To achieve this, I want to convert the DIVI theme’s page and post layouts into HTML code, which can then be used in Strapi.