From personal experience: if you’re looking to migrate from WP, I’d strongly recommend just extracting your posts via WordPress’s JSON API. I looked at several of these tools while planning a lift of a large blog to Hugo, and none of them ultimately worked as well as a small one-off Python script that pulled from the JSON API.
(Pulling from the API also means you won’t have to inject any code into your current WP instance.)
(Pulling from the API also means you won’t have to inject any code into your current WP instance.)