Skip to main content

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=sharing
  • https://drive.google.com/open?id=FILE_ID
  • Any URL containing a valid Google Drive file ID

Requirements

  • Python 3.6+
  • requests

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gdownlite-0.1.2.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gdownlite-0.1.2-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file gdownlite-0.1.2.tar.gz.

File metadata

  • Download URL: gdownlite-0.1.2.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for gdownlite-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6e586c2093c02421e04d9329493af003a838c4a630d376d8d6366cd68a32fcc7
MD5 0981b34fafbab555955bc968461ec9df
BLAKE2b-256 a567fa1e9a9edacb5229a5e44197587b27549509013e148c84817f3ffa8de9db

See more details on using hashes here.

File details

Details for the file gdownlite-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: gdownlite-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for gdownlite-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3fae9ac75dfe2be5e39a5ef51bd60ef40721265da15cec50588a37c8d5c78fcc
MD5 857fb85654d3e364abebfef597f80345
BLAKE2b-256 babda9bb1c21783e68258dbf67609f49cffeeea0aa402d88eb633c3ac27b8cd5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page