Drive doesn't expose a clean anonymous download endpoint. What works in
practice:
Hit drive.usercontent.google.com/download?id=...&confirm=t — this skips
the virus-scan interstitial for most public files.
If the response is binary, we're done.
If the response is the HTML virus-scan interstitial (large files), parse
the <form>, forward cookies, and retry with the hidden inputs as query
params.
Adapter — Google Drive public file download.
Drive doesn't expose a clean anonymous download endpoint. What works in practice:
drive.usercontent.google.com/download?id=...&confirm=t— this skips the virus-scan interstitial for most public files.<form>, forward cookies, and retry with the hidden inputs as query params.