simonw / google-drive-to-sqlite

Create a SQLite database containing metadata from Google Drive
https://datasette.io/tools/google-drive-to-sqlite
Apache License 2.0
153 stars 13 forks source link

Add thumbnails to the documentation #12

Closed simonw closed 2 years ago

simonw commented 2 years ago

https://drive.google.com/thumbnail?sz=w800-h800&id=0B32uDVNZfiEKOUliZ3NMNC0yV3RiYkZabjhlSHhXZ2UxOEZn redirects to the correct thumbnail for the image, if the user is signed in and has permission to view it.

That ID is the file ID. You can use any width and height you like.

The thumbnailLink we are fetching right now is useless because it expires too quickly.

simonw commented 2 years ago

I'm just going to add this as a note in the documentation for the moment.