gdd/README.md
2022-08-07 04:21:29 -04:00

51 lines
1.4 KiB
Markdown

# gdd
A terminal Google Drive downloader **that doesn't require API keys** written in Node.
## installation
```bash
git clone https://git.gay/a/gdd # clone repo
cd gdd # enter cloned repo
npm i # install dependencies
# windows:
npm link
# linux/mac:
sudo npm link
```
## usage
```
gdd [options] (urls to download/action)
-d, --debug Add debug logs
--dry-run Dry running: Show download URL without downloading it
--dest [location], --destination [location] Location to download the file to
--cookies [location] The location of a cookies.txt file generated from your browser
--no-flatten Do not preform the flatten folder function
```
### actions
```bash
gdd captcha [captcha solver name] [captcha solver key]
# example: gdd captcha 2captcha 1abc234de56fab7c89012d34e56fa7b8
# Adds a CAPTCHA solver to bypass Google's "Sorry" CAPTCHA page
gdd config print
# This prints the config file you have
gdd config location
# Prints the location of your config file
```
### examples
```bash
gdd --dest "./test.webm" "https://drive.google.com/file/d/1rvNyJYv36IilvrtOW56EuVpTtFKbr0s2/view?usp=sharing"
# Download a video to the filename "test.webm" in your current directory
gdd -d "https://drive.google.com/drive/folders/1fqpuY1-KAx7ovSul20055Ocyt40X-52q?usp=sharing"
# Download a pack of wallpapers in debug mode
```