All Projects → wkentaro → Gdown

wkentaro / Gdown

Licence: mit
Download a large file from Google Drive (curl/wget fails because of the security notice).

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Gdown

Http Client
A high-performance, high-stability, cross-platform HTTP client.
Stars: ✭ 86 (-91.06%)
Mutual labels:  wget, curl
Wsend
wsend: The opposite of wget
Stars: ✭ 64 (-93.35%)
Mutual labels:  wget, curl
Gdown.pl
Google Drive direct download of big files
Stars: ✭ 735 (-23.6%)
Mutual labels:  wget, google-drive
Host
Expose your LocalHost with this tool
Stars: ✭ 268 (-72.14%)
Mutual labels:  wget, curl
squirrel
Like curl, or wget, but downloads directly go to a SQLite databse
Stars: ✭ 24 (-97.51%)
Mutual labels:  curl, wget
Google Group Crawler
Get (almost) original messages from google group archives. Your data is yours.
Stars: ✭ 190 (-80.25%)
Mutual labels:  wget, curl
Bashupload
PHP/JavaScript file upload web app to upload files from command line & browser, and download them elsewhere. Frequently used to upload/download files on servers. Hosted version is available at bashupload.com.
Stars: ✭ 56 (-94.18%)
Mutual labels:  wget, curl
Googliser
a fast BASH multiple-image downloader
Stars: ✭ 202 (-79%)
Mutual labels:  wget, curl
dePAC
seamless Proxy Auto-Config (a.k.a. Web Proxy Auto Discovery) for CLI apps
Stars: ✭ 26 (-97.3%)
Mutual labels:  curl, wget
Xidel
Command line tool to download and extract data from HTML/XML pages or JSON-APIs, using CSS, XPath 3.0, XQuery 3.0, JSONiq or pattern matching. It can also create new or transformed XML/HTML/JSON documents.
Stars: ✭ 335 (-65.18%)
Mutual labels:  wget, curl
Googlesheets
Google Spreadsheets R API
Stars: ✭ 771 (-19.85%)
Mutual labels:  google-drive
Drive Db
📊 Use Google Drive spreadsheets as a simple database
Stars: ✭ 782 (-18.71%)
Mutual labels:  google-drive
Drivebackupv2
Uploads Minecraft backups to Google Drive/OneDrive or by (S)FTP
Stars: ✭ 26 (-97.3%)
Mutual labels:  google-drive
Forge View.googledrive.models
View models from Google Drive: Sample Viewer application that displays files of supported formats from Google Drive, and generates them in the Viewer
Stars: ✭ 18 (-98.13%)
Mutual labels:  google-drive
Packtpub Crawler
Download your daily free Packt Publishing eBook https://www.packtpub.com/packt/offers/free-learning
Stars: ✭ 717 (-25.47%)
Mutual labels:  google-drive
Curl Collisions
An implementation of Heilman et al.'s differential attack on IOTA's Curl hashing function.
Stars: ✭ 20 (-97.92%)
Mutual labels:  curl
Rclone
"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Yandex Files
Stars: ✭ 30,541 (+3074.74%)
Mutual labels:  google-drive
Cheat.sh
the only cheat sheet you need
Stars: ✭ 27,798 (+2789.6%)
Mutual labels:  curl
Coronavirus Tracker Cli
Track conronavirus cases from command line. curl https://corona-stats.online/
Stars: ✭ 954 (-0.83%)
Mutual labels:  curl
Curlie
The power of curl, the ease of use of httpie.
Stars: ✭ 877 (-8.84%)
Mutual labels:  curl

gdown

Download a large file from Google Drive.


Description

Download a large file from Google Drive.
If you use curl/wget, it fails with a large file because of the security warning from Google Drive.

Installation

pip install gdown

Usage

From Command Line

$ gdown --help
usage: gdown [-h] [-V] [-O OUTPUT] [-q] [--id] [--proxy PROXY] [--speed SPEED]
             [--no-cookies]
             url_or_id
...

$ # a large file (~400MB)
$ gdown https://drive.google.com/uc?id=0B_NiLAzvehC9R2stRmQyM3ZiVjQ
$ # gdown --id 0B_NiLAzvehC9R2stRmQyM3ZiVjQ
$ md5sum pose_estimation_2d_chainermodel.pkl
587933c2c0adf335ebed0486c183541f

$ # a small file
$ gdown https://drive.google.com/uc?id=0B9P1L--7Wd2vU3VUVlFnbTgtS2c
$ cat spam.txt
spam

$ # as an alternative to curl/wget
$ gdown https://httpbin.org/ip -O ip.json
$ cat ip.json
{
  "origin": "126.169.213.247"
}

$ # write stdout and pipe to extract
$ gdown https://drive.google.com/uc?id=0B9P1L--7Wd2vNm9zMTJWOGxobkU -O - --quiet | tar zxvf -
$ ls 20150428_collected_images/

$ # it can handle urls created from [Share] -> [Copy Url] on Google Drive
$ gdown 'https://drive.google.com/a/jsk.imi.i.u-tokyo.ac.jp/uc?id=0B_NiLAzvehC9R2stRmQyM3ZiVjQ'

From Python

import gdown

url = 'https://drive.google.com/uc?id=0B9P1L--7Wd2vNm9zMTJWOGxobkU'
output = '20150428_collected_images.tgz'
gdown.download(url, output, quiet=False)

md5 = 'fa837a88f0c40c513d975104edf3da17'
gdown.cached_download(url, output, md5=md5, postprocess=gdown.extractall)

License

See LICENSE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].