This question already has an answer here:
I want to have a large file accessible from Heroku for processing which will go a lot faster if it runs on Heroku than locally. I shared the file and got the link https://drive.google.com/file/d/0B9XPKIrgZLLudUxNdTlWVEpFTlE/view. It brings up a page saying it cannot preview, so it gives the option to download. That link is https://docs.google.com/uc?id=0B9XPKIrgZLLudUxNdTlWVEpFTlE&export=download. But then it still gives another page saying it cannot virus scan 97MB and there is yet another button to confirm download.
If you press this final button in the browser, it will download, but you can't do it from a script because it sets a cookie or something. So how do I get a direct, direct link to a large file in Google Drive?
I found this https://sites.google.com/site/gdocs2direct/ but it just gives the same link above, with the virus scan warning.
I don't have Amazon S3.