Simple Google Drive downloader with original filename
Project description
gdownlite
A simple, lightweight Google Drive downloader that preserves original filenames.
Features
- Download files from Google Drive shared links
- Preserves original filename from Google Drive
- Simple command-line interface
- Can be used as a Python library
- Handles large files with confirmation tokens
- Lightweight with minimal dependencies
Installation
pip install gdownlite
Or install from source:
git clone https://github.com/ceejay06s/gdownlite.git
cd gdownlite
pip install .
Usage
Command Line
Download a file to the current directory:
gdownlite "https://drive.google.com/file/d/YOUR_FILE_ID/view?usp=sharing"
Download to a specific directory:
gdownlite "https://drive.google.com/file/d/YOUR_FILE_ID/view?usp=sharing" -o /path/to/download/folder
Quiet mode (suppress output):
gdownlite "https://drive.google.com/file/d/YOUR_FILE_ID/view?usp=sharing" -q
As a Python Library
from gdownlite import download_gdrive_file
# Download file
file_path = download_gdrive_file(
"https://drive.google.com/file/d/YOUR_FILE_ID/view?usp=sharing",
output_dir="./downloads",
quiet=False
)
print(f"Downloaded to: {file_path}")
Supported URL Formats
The tool supports various Google Drive URL formats:
https://drive.google.com/file/d/FILE_ID/view?usp=sharinghttps://drive.google.com/open?id=FILE_ID- Any URL containing a valid Google Drive file ID
Requirements
- Python 3.6+
- requests
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Author
Christian
Email: christianbalais06@gmail.com
GitHub: @ceejay06s
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gdownlite-0.1.0.tar.gz.
File metadata
- Download URL: gdownlite-0.1.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13db14963b66d8837e3900ccdcc3390565d1491c01cf87ccbfd483414d0dbc25
|
|
| MD5 |
f69021e089fb7915d2e182af980a984f
|
|
| BLAKE2b-256 |
7ad01fe15a241565757b50cfd6bb55bf79c252c480146c48781b5fb3553322cd
|
File details
Details for the file gdownlite-0.1.0-py3-none-any.whl.
File metadata
- Download URL: gdownlite-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
516ea4dcbb4ccb016b53ee98ac6d3e1335cb9824257ee8078c3aa60d0f17a67d
|
|
| MD5 |
e55a377ff49279dea552a7d355bffd47
|
|
| BLAKE2b-256 |
124fadaaa9b358ab4000829a4301a083d4cdb9491e6e265583aba24fd10552ef
|