Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matthuisman/gdrivedl
Google Drive Download Python Script
https://github.com/matthuisman/gdrivedl
google-drive python
Last synced: 6 days ago
JSON representation
Google Drive Download Python Script
- Host: GitHub
- URL: https://github.com/matthuisman/gdrivedl
- Owner: matthuisman
- License: gpl-3.0
- Created: 2019-07-03T03:00:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-19T11:32:25.000Z (5 months ago)
- Last Synced: 2024-08-02T16:49:49.835Z (3 months ago)
- Topics: google-drive, python
- Language: Python
- Homepage: https://www.matthuisman.nz
- Size: 8.2 MB
- Stars: 186
- Watchers: 7
- Forks: 53
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# GDriveDL
Google Drive Download Script
- Python 2 / 3 compatible
- No API keys / credentials required
- Supports all operating systems
- No external dependencies
- Works with shared files or folders
- Works with large files
- Files / folders must have been shared via link## Usage
```bash
python gdrivedl.py
```
- URL is a shared Google Drive URLMultiple urls can be used by seperating them with a space. eg. ```python gdrivedl.py ```
On some systems you may need to enclose the url within quotes. eg ```python gdrivedl.py ""```
The script will exit with code 1 if there were any errors otherwise 0### Options
- `-P` `--directory-prefix` Output directory (default is current directory)
- `-O` `--output-document` Download to a particular filename (defaults to the
GDrive filename). Only valid when downloading a single file.
- `-e` `--continue_on_errors` If any errors processing files/folder then log and continue to next
- `-q` `--quiet` Disable console output
- `-d` `--debug` Show debug console output
- `-v` `--vebose` Debug console output as well as HTML headers and content
- `-m` `--mtimes` Try use modified times to check for changed files
- `-f` `--urlfile` Text file containing Google Drive URLS to download (one per line)