Skip to content

Releases: wkentaro/gdown

v5.2.0

12 May 06:44
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

✨ Features

  • Support proxy in download_folder

v4.6.3

13 Feb 10:21
Compare
Choose a tag to compare
Update just publish

v4.6.2

11 Feb 04:18
Compare
Choose a tag to compare
4.6.2