Releases: wkentaro/gdown
Releases Β· wkentaro/gdown
v5.2.1
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
π 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)
- To connect, check my Twitter.
- To support, check Sponsoring Page.
v5.1.0
π Features
- Enable
python -m gdown <URL>by renamingcli.pyto__main__.py#306 - Replace
md5withhashingdown.cached_downloadto support various hash algorithm #311 - Make log messages in
gdown.download()customizable #312 - Add
skip_downloadoption togdown.download_folderto 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.ymltotest___main__.py#307
- For my daily development update, check my Twitter/X.
- If you'd like to support this project, check my sponsoring page.
v5.0.1
π 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
- For my daily development update, check my Twitter/X.
- If you'd like to support this project, check my sponsoring page.
v5.0.0
π Features
β¨ Enhancement
- Print log message to stderr instead of stdout #297
- Simplify the message printed by
assert_md5sumfunction #298
π¬ Other
- For my daily development update, check my Twitter/X.
- If you'd like to support this project, check my sponsoring page.
v4.7.3
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.)
- For my daily development update, check my Twitter/X.
- If you'd like to support this project, check my sponsoring page.
v4.7.2
π Features
- Raise and handle exceptions
- PR: #260
π Fixes
- Fix typo: uriginal -> original
- PR: #264
Uncategorized
If you find this project useful, please consider sponsoring its development.
v4.7.1
π 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.
v4.6.4
v4.6.3
Update just publish