Introducing undrive_google
Undrive Google exports files from Google Drive and applies transformations for keeping or hosting your own copies. The documented workflow includes renaming downloads, unpacking HTML exports, and repairing exported HTML. It is aimed at a local copy workflow, rather than simply generating a link to a Drive export.
Read the upstream README for installation and usage, or browse the project repository.