Skip to content

Commit

Permalink
Add FAQ and describe about cookies.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Jan 20, 2024
1 parent 30fa8e7 commit bc581b8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit bc581b8

Please sign in to comment.