wkentaro / gdown

Google Drive Public File Downloader when Curl/Wget Fails
MIT License
4.11k stars 343 forks source link

Gdown not working for Google Spreadsheet #235

Closed JohannZhu closed 1 year ago

JohannZhu commented 1 year ago

So when I try to download a Google Spreadsheet (the xlsx liked file) to Google Colab with Gdown it fails and complains permission denied.

My Setup:

Error Message: Access denied with the following error: Cannot retrieve the public link of the file. You may need to change the permission to 'Anyone with the link', or have had many accesses. You may still be able to access the file from the browser: https://drive.google.com/uc?export=download&confirm=pbef&id=\<FileID>

Solutions I tried but does not work:

Additional:

wkentaro commented 1 year ago

Hey, maybe you can try this:

https://stackoverflow.com/a/28494469/4158863

I haven't decided how we support spreadsheet in Gdown, so keep me posted for your use case. Basically, Google Drive offers several formats: csv, xslx, tsv, etc for Spreadsheet, and Gdown probably should these instead of just URL.

wkentaro commented 1 year ago

Closed via https://github.com/wkentaro/gdown/pull/255