Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kauahensilva/python_download_file_drive

The python_download_file_drive package is a tool designed to simplify the download of files stored on Google Drive using Python. It abstracts the complexity of directly interacting with the Google Drive API, providing a simple and intuitive interface to download specific files.
https://github.com/kauahensilva/python_download_file_drive

downloader google-drive

Last synced: 2 days ago
JSON representation

The python_download_file_drive package is a tool designed to simplify the download of files stored on Google Drive using Python. It abstracts the complexity of directly interacting with the Google Drive API, providing a simple and intuitive interface to download specific files.

Awesome Lists containing this project

README

        

# Google Drive Downloader (Python)

Um script simples para baixar arquivos ou pastas do Google Drive via linha de comando utilizando a biblioteca `gdown`.

---

## 📦 Funcionalidades
- **Download de arquivos individuais**: Suporte a URLs ou IDs de arquivos.
- **Download de pastas inteiras**: Mantém a estrutura de diretórios.
- **Modo `fuzzy`**: Para URLs nĂŁo canĂ´nicas.
- **Autenticação via cookies**: Acesso a arquivos/pastas restritos.
- **Verificação de existência**: Alerta se o arquivo/pasta já existe localmente.

---

## ⚙️ Requisitos
- Python 3
- Pacotes listados em `requirements.txt`

---

## 🛠️ Instalação
1. Clone o repositĂłrio:
```bash
git clone https://github.com/seu-usuario/google-drive-downloader.git
cd google-drive-downloader
```
2. Instale as dependĂŞncias:
```bash
pip install -r requirements.txt
```

## 🚀 Como Usar

### 📂 Download Básico

Execute o seguinte comando no terminal:

```bash
python script.py
```

Exemplo:

```bash
python script.py "https://drive.google.com/file/d/1A2B3C4D5E6F/view" "meu_arquivo.zip"
```