I have a spreadsheet shared with me.
It has columns A-K, where K column contains binary image, that has directly pasted there by CTRL+V, most probably. When I set cursor to that cell, there is no text in the formula window. The file exported manually has more than 150Mb.
I need to extract all that values from that spreadsheet directly using API or some alternative with Python script. I don't care about the details, it could be both downloading file to .xlsx and processing or extracting info directly from the spreadsheet.
Which extraction techniques I have tried so far:
- Requests. Doesn't work, it downloads 4kb html page or so instead of the sheet.
- Non-google libraries for extraction. Don't work as well, probably due to file size. It's quite big, 150+ Mb.
- Google Drive API. As I understand it has limiter features to extract and allows 10mb max size.
- Google Spreadsheet API. Works well, but when I call
result = sheet.values().get(spreadsheetId=SPREADSHEET_ID,
range='Brands!A2:K',
valueRenderOption='UNFORMATTED_VALUE',).execute()
It returns all the columns without K. I played with parameters but it just doesn't return binary data. Is there a way to extract information from script?