Thanks to visit codestin.com
Credit goes to GitHub.com

Skip to content

Releases: wkentaro/gdown

v5.2.1

11 Jan 09:33
7f4cb68

Choose a tag to compare

Fixes

  • cached_download: Verify file hash before moving to final location instead of after (#417)
    • Previously, the hash was verified after moving to the final path, which could leave corrupted files in place if hash verification failed
  • download: Fix speed limit throttling logic to use independent byte counter instead of pbar.n (#407)
    • The speed limiter now correctly tracks downloaded bytes independently from the progress bar
    • Also fixes unnecessary sleep when resuming downloads with speed limit (since pbar.n includes start_size from resumed downloads)

Chores

  • Fix missing space in --output help text (#398)
  • Fix concatenated string literal in extractall.py error message

v5.2.0

12 May 06:44

Choose a tag to compare

πŸš€ 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)

v5.1.0

03 Feb 14:26

Choose a tag to compare

πŸš€ 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

v5.0.1

26 Jan 15:37

Choose a tag to compare

πŸ› 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

v5.0.0

20 Jan 04:24

Choose a tag to compare

πŸš€ 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

v4.7.3

16 Jan 13:22

Choose a tag to compare

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

v4.7.2

16 Jan 12:40

Choose a tag to compare

πŸš€ Features

  • Raise and handle exceptions

πŸ› Fixes

  • Fix typo: uriginal -> original
Uncategorized

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

v4.7.1

25 Mar 04:12

Choose a tag to compare

πŸš€ Features

  • Support Google Docs, Spreadsheets, and Slides with export format
% 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

πŸ› Fixes

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

πŸ’¬ Other

  • Show original and redirected url in logging

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

v4.6.4

21 Feb 03:32

Choose a tag to compare

✨ Features

  • Support proxy in download_folder

v4.6.3

13 Feb 10:21

Choose a tag to compare

Update just publish