Akianonymus / gdrive-downloader

Download a gdrive folder or file easily, shell ftw.
The Unlicense
304 stars 28 forks source link

Incomplete download - Virus check #37

Closed jrleyva closed 2 years ago

jrleyva commented 2 years ago

Hi, Thank u for this great repository. Im having some troubles, after multiple succeeded files downloaded, next files are showing "Incomplete download ", trying via browser everything is ok but the files with incomplete download have virus check message.

This is a file example: https://drive.google.com/file/d/1nFpz6XlUZ9yIFSQmK0FAhXslkZazxjSE/

Captura de Pantalla 2022-03-04 a la(s) 21 05 58

Captura de Pantalla 2022-03-04 a la(s) 19 32 27

Hope can help me to solve the issue. Thanks!

Akianonymus commented 2 years ago

This should be fixed, update with gdl -u and try.

Tailslide commented 2 years ago

Getting something like this too but with this message after 32 files downloaded:

your computer or network may be sending automated queries. To protect our users, we can't process your request right now.
See <a href="https://support.google.com/websearch/answer/86640">Google Help</a> for more information.
Akianonymus commented 2 years ago

Well, that's normal

Are you still able to download without any authentication from browser ?

If yes, this maybe bypassable, or maybe just need to delay between the requests or something.

Any ideas are welcome.

Tailslide commented 2 years ago

Ahh ok I just read the part about OAUTH authentication.. seems to be working after that. I did get one failed that was bigger than 350Mb I think because when you get it interactively it gives you a warning about virus.

Akianonymus commented 2 years ago

Try specifying -k flag to use key to download ( it will use the internal key ), probably will do few more downloads before google blocks again.

A full proof solution is obviously to setup authentication, but again that's a hassle to setup for the first time. But i recommend you to set it up if you are frequently downloading from google drive, google anti spam is almost negligible in authenticated requests.

Akianonymus commented 2 years ago

Ahh ok I just read the part about OAUTH authentication.. seems to be working after that. I did get one failed that was bigger than 350Mb I think because when you get it interactively it gives you a warning about virus.

The virus warnings are handled properly, every files above 100 mb gives the warning. It appeared because of the previous requests.

Tailslide commented 2 years ago

You're right! It's working great. I ran into another issue but I'll open a new one for that.