This is a command line application to download Google Docs as cleaned HTML files. This utility gets you three files from a single Google Doc url: a PDF version for reference, an HTML one and creates a cleaned HTML one without any styling, names or classes specific to Google Docs.
Enable snaps on Kubuntu and install Google docs HTML cleaner
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.