On Thu, 2018-01-18 at 10:47 +0100, [email protected] wrote:
> I also learned to download files with public access from Google Drive without 
>  
> having to log in to Google Drive or use of JS. If the link is to a file, it  
> can easily be converted to a direct link. Here is a bash script line which  
> does that:
> 
> echo $1 | sed -r -e  
> 's/(https:\/\/drive\.google\.com\/)file\/d\/([^/]+)\/view/echo  
> "\1uc?id=\2\&e=download"/ge'

Is this code snippet copyrightable?

Does anybody remember the snippet to download a native Google Docs doc
as OpenDocument or PDF?

-- 
Caleb Herbert
OpenPGP public key: http://bluehome.net/csh/pubkey

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to