You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
frompydrive2.driveimportGoogleDriveFileGoogleDriveFilemyfile=GoogleDriveFile() # here an instance of GoogleDriveFilemyfile.metadata.get("exportLinks").get("text/html").text
This code snippet, gives you link of a html/css page you can download as a text file.
The endpoint
GET https://www.googleapis.com/drive/v2/files/:fileId/export
seems to be missinghttps://developers.google.com/drive/api/v2/reference/files/export
It's a feature that allow you to download a HTML with CSS inlined version of a doc.
The text was updated successfully, but these errors were encountered: