Closed qsh-zh closed 2 years ago
For a large file, you need to run this command instead:
gdown https://drive.google.com/u/0/uc?id=FILE_ID_HERE&export=download&confirm=t
For example:
gdown https://drive.google.com/u/0/uc?id=1fXgBupLzThTGLLsiYCHRQJixuDsR1bSI&export=download&confirm=t
@Hacker17082006 The trick is really useful! It solves my problem.
The solution can be found at https://github.com/wkentaro/gdown/issues/146
gdown.download( f"https://drive.google.com/uc?export=download&confirm=pbef&id={file_id}", output=filename )
The solution can be found at
https://github.com/wkentaro/gdown/issues/146
gdown.download(
f"https://drive.google.com/uc?export=download&confirm=pbef&id={file_id}", output=filename
)
Where did the "pbef" come from?
The issue is very similar to #26
Take an example of 500mb file
I found even on chrome, it request another confirmation![too_large](https://user-images.githubusercontent.com/28699575/163596741-d280ab83-64a2-4e6d-b4ca-5fcc861fd86b.png)
Do you have any ideas or suggestions on how to fix this or alternative approaches to download a large file in the terminal?