I am currently using
from googleapiclient.discovery import build
service = build("drive", "v3", credentials=creds)
request = service.files().export_media(fileId=file.get("id"), mimeType="text/plain")
to request a vnd.google-apps.site file from a Google Drive, and then importing it as a .txt file. Problem is that the whole site is then downloaded as a big .txt file, but I would like to have each page as its own .txt file. Requesting the file results in a big .txt, how do I list the subpages instead?
New contributor
PolyUre is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.