Open ilentt opened 2 months ago
It has a limit of downloading 50 files from a folder link
It has a limit of downloading 50 files from a folder link
Maybe, although I already considered 50 files limitation by below command but It still do not work as my expectation. Do you have any idea to solve this problem?
// Folder with count of files more than 50
gdown <google_drive_folder_url> -O <location_for_download> --folder --remaining-ok
the --remaining-ok flag just allows you to download the first 50 files without giving an error I think. There is no way to download more than 50 files in a folder using gdown
Can we split the list file into several part, each part have maximum 50 files. By this ways we can download whole folder regardless how many file in folder. Why we can't do by this way?
Can we split the list file into several part, each part have maximum 50 files. By this ways we can download whole folder regardless how many file in folder. Why we can't do by this way?
The reason only able to download 50 files is that the gdown library, by default, uses the "cookie" method to access Google Drive files, and Google Drive has a limitation of 50 for direct downloads using cookies. You can use the Google Drive API along to download >50 files with the google-api-python-client library.
Can we split the list file into several part, each part have maximum 50 files. By this ways we can download whole folder regardless how many file in folder. Why we can't do by this way?
The reason only able to download 50 files is that the gdown library, by default, uses the "cookie" method to access Google Drive files, and Google Drive has a limitation of 50 for direct downloads using cookies. You can use the Google Drive API along to download >50 files with the google-api-python-client library.
Once you make the python file, what do you do?
Yes, 50 limit is hard set due to the behavior of Google Drive.
It returns the first 50 files, and gdown can't know what's the rest.
To resolve this, probably we need to use browser emulator like Selenium to let the Javascript to load the rest of files. (Loading more than 50 works in Incognito mode in a browser)
Provide environment information
Environment information
What OS are you using?
Linux Mint 21.3
Describe the Bug
Execute
gdown
from terminal sometime it do not retrive and do not download entire content in folderCommand
Log
Expected Behavior
Download completely entire content in the folder
To Reproduce