Gdown Versions Save

Google Drive Public File Downloader when Curl/Wget Fails

v5.1.0

3 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

v5.0.1

3 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

v5.0.0

4 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

v4.7.3

4 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.)

v4.7.2

4 months ago

🚀 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

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.

v4.6.4

1 year ago

:sparkles: Features

v4.6.3

1 year ago

v4.6.2

1 year ago

v4.6.1

1 year ago