I have a static site completely built on Hugo. I am planning to use AppSearch from Elastic, where I have to create indexes in JSON format to upload to AppSearch. I tried using hugo-elastic search npm plugin from this URL https://github.com/clarketm/hugo-elasticsearch. JSON output provided by the plugin is not valid and also AppSearch is not accepting the JSON provided.
Is there any good tool available to scrape the complete static site I build on HUGO and provide index files in JSON format to use with AppSearch from Elastic.