gdown

Google Drive Public File Downloader when Curl/Wget Fails

MIT License

Downloads
1.6M
Stars
4.2K
Committers
24

Bot releases are visible (Hide)

gdown - v5.2.0 Latest Release

Published by github-actions[bot] 5 months ago

πŸš€ Features

  • Feature: preserve GDrive's last modified time when downloading #351 (Thanks @moulins)
  • Feature: allow folders to be continued more usefully #288 (Thanks @achadwick)

✨ Enhancement

  • Show resume progress bar from the middle #361

πŸ› Fixes

  • Use importlib.metadata to get the version number from the installed package #319
  • BUG: Download folder with "skip_download=True" creates an output folder #321 (Thanks @o-laurent)

πŸ’¬ Other

  • Fix typos in README.md #323 (Thanks @amorehead)
  • Run GitHub Actions on macOS, Ubuntu, and Windows #324
  • Support Windows and macOS in tests #359
  • Typo in arg help text #343 (Thanks @frosit)
  • Trivial: Update the documentation for the output param #347 (Thanks @abouelkhair5)

gdown - v5.1.0

Published by github-actions[bot] 9 months ago

πŸš€ Features

  • Enable python -m gdown <URL> by renaming cli.py to __main__.py #306
  • Replace md5 with hash in gdown.cached_download to support various hash algorithm #311
  • Make log messages in gdown.download() customizable #312
  • Add skip_download option to gdown.download_folder to return the list of files without download #317 (Thanks @o-laurent)

✨ Enhancement

  • Add extra pattern to extract url from download-form returned by Google Drive for a large file #308 (Thanks @pmeier)
  • Add FAQ link to error messages #318

πŸ’¬ Other

  • Move tests from ci.yml to test___main__.py #307

gdown - v5.0.1

Published by github-actions[bot] 9 months ago

πŸ› Fixes

  • Skip process only for gdrive files by breaking early #302, Thanks @hungpham3112
  • Retry with canonicalized url if original url is not gdrive url #304, Thanks @pavse

gdown - v5.0.0

Published by github-actions[bot] 9 months ago

πŸš€ Features

  • Use MozillaCookieJar instead of json to save cookies #300, Thanks @7x11x13

✨ Enhancement

  • Print log message to stderr instead of stdout #297
  • Simplify the message printed by assert_md5sum function #298

πŸ’¬ Other

  • Drop Python 2 and migrate to pyproject.toml #296
  • Use line length of 88 instead of 79 #299

gdown - v4.7.3

Published by github-actions[bot] 9 months ago

NOTE: Gdown was down due to the Google Drive's change on User-Agent. Now it should be back to normal.

πŸ› Fixes

  • Fix User-Agent to download and add --user-agent option
    • PR: #295
    • Thanks @rmcpantoja @katzdm @alirezaAsadi2018 and many others who reported this issue. (Sorry I missed the notification for a while.)

gdown - v4.7.2

Published by github-actions[bot] 9 months ago

πŸš€ Features

  • Raise and handle exceptions
    • PR: #260

πŸ› Fixes

  • Fix typo: uriginal -> original
    • PR: #264

If you find this project useful, please consider sponsoring its development.

gdown - v4.7.1

Published by github-actions[bot] over 1 year ago

πŸš€ Features

  • Support Google Docs, Spreadsheets, and Slides with export format
    • PR: #255
% gdown https://docs.google.com/document/d/1TFYNzuZJTgNGzGmjraZ58ZVOh9_YoKeBnU-opWgXQL4/edit#heading=h.9rak0iw3abvl --fuzzy --format pdf
Downloading...
From (uriginal): https://drive.google.com/uc?id=1TFYNzuZJTgNGzGmjraZ58ZVOh9_YoKeBnU-opWgXQL4
From (redirected): https://docs.google.com/document/d/1TFYNzuZJTgNGzGmjraZ58ZVOh9_YoKeBnU-opWgXQL4/export?format=pdf
To: /Users/wkentaro/Documents/gdown/gdown.docx.pdf
26.0kB [00:00, 40.7MB/s]

% gdown https://docs.google.com/spreadsheets/d/1h6wQX7ATSJDOSWFEjHPmv_nukJzZD_zZ30Jvy6XNiTE/edit#gid=0 --fuzzy --format pdf
Downloading...
From (uriginal): https://drive.google.com/uc?id=1h6wQX7ATSJDOSWFEjHPmv_nukJzZD_zZ30Jvy6XNiTE
From (redirected): https://docs.google.com/spreadsheets/d/1h6wQX7ATSJDOSWFEjHPmv_nukJzZD_zZ30Jvy6XNiTE/export?format=pdf
To: /Users/wkentaro/Documents/gdown/gdown.xlsx.pdf
17.8kB [00:00, 24.2MB/s]

% gdown https://docs.google.com/presentation/d/13AhW1Z1GYGaiTpJ0Pr2TTXoQivb6jx-a/edit#slide=id.p1 --fuzzy --format pdf
Downloading...
From (uriginal): https://drive.google.com/uc?id=13AhW1Z1GYGaiTpJ0Pr2TTXoQivb6jx-a
From (redirected): https://docs.google.com/presentation/d/13AhW1Z1GYGaiTpJ0Pr2TTXoQivb6jx-a/export?format=pdf
To: /Users/wkentaro/Documents/gdown/gdown.pptx.pdf
12.3kB [00:00, 19.2MB/s]
  • Support more url patterns in fuzzy search of file id
    • PR: #258

πŸ› Fixes

  • Fix hang with large files by removing re.search title for non-html responses
    • PR: #256

πŸ’¬ Other

  • Show original and redirected url in logging
    • PR: #257

If you find this project useful, please consider sponsoring its development.

gdown - v4.6.4

Published by github-actions[bot] over 1 year ago

✨ Features

gdown - v4.6.3

Published by github-actions[bot] over 1 year ago

gdown - v4.6.2

Published by wkentaro over 1 year ago

gdown - v4.6.1

Published by wkentaro over 1 year ago

gdown - v4.6.0

Published by wkentaro almost 2 years ago

  • Resolve the issues in download_folder due to the language/region (e.g., Russia, UK, etc).
gdown - v4.5.4

Published by wkentaro almost 2 years ago

gdown - v4.5.1

Published by wkentaro over 2 years ago

What's Changed

Full Changelog: https://github.com/wkentaro/gdown/compare/v4.5.0...v4.5.1

gdown - v4.5.0

Published by wkentaro over 2 years ago

What's Changed

Full Changelog: https://github.com/wkentaro/gdown/compare/v4.4.0...v4.5.0

gdown - v4.4.0

Published by wkentaro over 2 years ago

gdown - v4.3.1

Published by wkentaro over 2 years ago

gdown - v4.3.0

Published by wkentaro over 2 years ago

Mitigate PermissionError after many accesses to a particular file.

gdown - v4.1.1

Published by wkentaro about 3 years ago

Gdown v4.1 now supports --folder option!
You can download files in a folder on Google Drive.

gdown --folder https://drive.google.com/drive/folders/15uNXeRBIhVvZJIhL4yTw4IsStMhUaaxl
# gdown/gdown.pptx
# gdown/spam.txt
gdown -

Published by wkentaro about 3 years ago

Gdown v4 now supports --fuzzy option!
You can simply copy and paste the link from Get link on Google Drive.

image

Also, --continue option is added to resume downloading from a partially downloaded file.

Tips: run pip install -U gdown for upgrade.