From bc581b84c1184970adf9ffea5989fc3eb1cdeecb Mon Sep 17 00:00:00 2001 From: Kentaro Wada Date: Sat, 20 Jan 2024 13:01:25 +0900 Subject: [PATCH] Add FAQ and describe about cookies.txt --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 609a9689..9ffdc8b6 100644 --- a/README.md +++ b/README.md @@ -110,6 +110,22 @@ gdown.download_folder(id=id, quiet=True, use_cookies=False) ``` +## FAQ + +### I get 'Permission Denied' error. + +Have you made sure you set the file permission to 'Anyone with Link'? + +### I set the permission 'Anyone with Link', but still can't download. + +Google restricts access to a file when the download is concentrated. +If you can still access to the file from your browser, downloading cookies file might +help. Follow this step: 1) download cookies.txt using browser extensions like +([Get cookies.txt LOCALLY](https://chromewebstore.google.com/detail/get-cookiestxt-locally/cclelndahbckbenkjhflpdbgdldlbecc)); +2) mv the `cookies.txt` to `~/.cache/gdown/cookies.txt`; 3) run download again. +If you're using `gdown>=5.0.0`, it should be able to use the cookies same as your browser. + + ## License MIT