PatreonDownloader icon indicating copy to clipboard operation
PatreonDownloader copied to clipboard

Google Drive URL: [70608200] Unable to retrieve name for external entry of type ExternalUrl

Open valdearg opened this issue 3 years ago • 2 comments

I've noticed an issue with downloading certain Google Drive URLs which are too large for Google to scan for viruses, do not download with the following error:

[70608200] Unable to retrieve name for external entry of type ExternalUrl:

(Apologies, rather not post the URL as they're from a NSFW Patreon user I subscribe to, happy to email a link.)

I've tested a couple of Drive links, one which works and one which doesn't work, the links are in the same style, the only difference seems to be that when you open the link the Google says "Google Drive can't scan this file for viruses. Download anyway?". Smaller sized files will go straight through to the download immediately.

The link is to a 500MB+ ZIP file.

image

I see that there's quite a few Stack Overflow questions on this, one person has suggested using:

https://www.googleapis.com/drive/v3/files/fileid/?key=yourapikey&alt=media

Instead of "yourapikey" the authorisation header should be possible. I've tried this manually and it appears to work, with the only caveat being that it doesn't keep the original filename, using "download.{extension}" instead.

valdearg avatar Aug 18 '22 15:08 valdearg

This really looks to me like the file is not being passed to google drive plugin. Please send json files produced when you run the app with --json parameter and link(s) you are having issues with to [email protected]. I will take a look when I have free time.

AlexCSDev avatar Aug 18 '22 15:08 AlexCSDev

No worries! Sent along now, thanks for taking a look!

valdearg avatar Aug 18 '22 16:08 valdearg