Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
Z

zdownloader

> 编程语言
Open source

zdownloader is a download manager for ZippyShare, Google Drive and MegaUp services

100 stars0 likes5 views
WebsiteGitHub

About

zdownloader is a download manager for ZippyShare, Google Drive and MegaUp services

Changelog

  • 2020-09-06 v2.2 - LINK
  • 2020-08-21 v2.1 - LINK

zdownloader

Zdownloader is a lightweight download manager running from command line.
Zdownloader was written in C++ and supports downloading files by HTTPS from services such as:

  • ZippyShare,
  • Google Drive,
  • MegaUp(megaup.net).

Features

  • Can download multiple files at a time.
  • Supports segmented downloading.
  • It can resume interrupted downloads.
  • Can check multiple links at a time.
  • It can reconnect after specific time if download speed is too low.
  • It can unpack archive files after download. Supports: rar, 7z and zip.
  • Supports network proxies.
  • Allows you to download google drive files even if the daily limit of download has exceeded using google drive REST API v3.

Requirements

Linux x86-64

ldd zdownloader:

  • linux-vdso.so.1
  • libbotan-2.so.13
  • libQt5Network.so.5
  • libQt5Core.so.5
  • libQt5Script.so.5
  • libpthread.so.0
  • libstdc++.so.6
  • libgcc_s.so.1
  • libc.so.6
  • libz.so.1
  • libdl.so.2
  • libm.so.6
  • /lib64/ld-linux-x86-64.so.2

General

  • Linux kernel >= 3.2.0
  • glibc(libc6) >= 2.25
  • OpenSSL >= 1.1.0
  • Qt5 >= 5.13.0
    I have attached precompiled Qt libs in lib directories (license: GNU LGPL version 3, Qt source code: https://code.qt.io)
  • Botan >= 2.14 - needed for JWT sign in gdrive api
    I have attached precompiled Botan library in lib directory (https://botan.randombit.net)
  • for unpack rar files: unrar >= 5.50
  • for unpack 7z, zip files: 7z >= 16.02

Windows

  • you probably need Visual C++ 2017 redistributables: x64 - https://aka.ms/vs/16/release/vc_redist.x64.exe or x86 - https://aka.ms/vs/16/release/vc_redist.x86.exe
  • I have attached precompiled Qt libs in win7_8_10-x64 directory. License: GNU LGPL version 3, Qt source code: https://code.qt.io.
  • I have attached precompiled OpenSSL libs in win7_8_10-x64 directory - https://www.openssl.org
  • for unpack rar files: WinRar or Unrar >= 5.50 - https://www.rarlab.com/download.htm
  • for unpack 7z, zip files: 7-zip >= 16.02 - https://www.7-zip.org/download.html

Build instructions

  • BUILD HOWTO

Usage

links.txt file:

  • create links.txt file in zdownloader directory,
  • you can add URLs to links.txt file: one line -> one URL,
  • at the beginning zdownloader checks and sorts the links,
  • checked and sorted links are saved to download_list.txt file,
  • you can add '--' chars to append links as one group,
  • you can add encoded links,
  • you can put line comments - just add hash(#) character before comment.
  • from zdownloader v2.0 you can use(in links.txt file) any of these gdrive link formats (and similar):
    https://drive.google.com/file/d/0B1MVW1mFO2zmZHVRWEQ3Rkc3SVE
    https://drive.google.com/file/d/0B1MVW1mFO2zmZHVRWEQ3Rkc3SVE/view
    https://drive.google.com/uc?id=0B1MVW1mFO2zmZHVRWEQ3Rkc3SVE
    https://drive.google.com/uc?id=0B1MVW1mFO2zmZHVRWEQ3Rkc3SVE&export=download

Example of links.txt file:

# this is comment
https://www73.zippyshare.com/v/0deWxCol/file.html
https%3A%2F%2Fwww73.zippyshare.com%2Fv%2F0deWxCol%2Ffile.html
--
https://drive.google.com/file/d/2M4RhNINIETzt-a6tbkdwLTBS9CAqM-WD
--
https://megaup.net/3Pwaa/something.rar #comment: example link

download_list.txt file:

  • download_list.txt file is created after links checks,
  • download list has format:
file_name URL group_id file_size

Four fields separated by tab character.
Group_id contains group number - is used for unpack archives.

  • You can edit(eg. change order) download_list.txt when zdownloader is not running,
  • If remote file does not exists then zdownloader skips that file.

finished_downloads_*.txt files:

  • contains timestamp, download status, file name and URL,
  • download_status can be:
    F (download finished with success),
    X (skipped download, file already exists on disk),
    R (skipped download, remote file does not exists)

How gdrive download limit bypass works?

  • Zdownloader can download google drive files even if the daily limit of download has exceeded. For that zdownloader can use google drive REST API v3.
  • Before you start see how to enable and create service account: LINK
  1. The Google Drive API provides an option for 3rd party applications to store their own data on Google Drive, but sandboxed from the user's main file storage area. Hence zdownloader cannot read, modify or delete your Google Drive data. A user's space allocation (default 15GB) is shared between all applications that store data in their Google Account - Drive, Gmail, Google Photos and 3rd party apps like zdownloader.
  2. At first step zdownloader list all files on gdrive.
  3. Next zdownloader deletes all found files.
  4. At last step the application copies the file to your gdrive and download it.

When using gdrive api you can download one gdrive file at a time(but you can use many segments and other services like zippyshare).

Unpack

Default value for unrar_binary setting:

  • Linux: unrar, Windows: C:\Program Files\WinRAR\UnRar.exe

Default value for 7z_binary setting:

  • Linux: 7z, Windows: C:\Program Files\7-zip\7z.exe

Executing parameters:

  • rar: unrar x -parchive_pwd -ai -y -c- -o+ archive_filename archive_dir/
  • 7z: 7z x -parchive_pwd -aoa -y -oarchive_dir/ archive_filename
    where archive_dir is file name without extension.

While the unpack is running, unpack_queue.txt file is created in the current directory.

Start and stop

You can run zdownloader by
./start_zd.sh
from zdownloader directory.

To stop zdownloader press Ctrl-C or send SIGINT or SIGTERM signal.

Running zdownloader on MacOS

  • Unpack macos_x64.tgz and copy zdownloader.app to user's home directory.
  • Edit zdownloader.ini in zdownloader.app/Contents/MacOS/zdownloader.ini
  • Edit links.txt in zdownloader.app/Contents/MacOS/links.txt
  • Run Terminal and write commands:
bash
cd zdownloader.app/Contents/MacOS/
./zdownloader

Settings are stored in zdownloader.ini file:

Hint: in zdownloader.ini file you cannot use tilde(~) character as alias to user's home directory.

…

Zdownloader can power off system on download finish. For that zdownloader uses

  • for Linux: sudo shutdown --no-wall -P +2 command which should execute without any passwords,
  • for Windows: shutdown /s /t 120 command.

applog_*.log files:

Zdownloader can save everything from standard output to rotated log files:
applog_1.log ...

*.zdm files:

When the download is interrupted, the program saves segment offsets to *.zdm files in download_directory.
The zdm file also contains the number of remaining bytes to download.

All contributions are welcome

Help and contributions can be any of the following:

  • star the project
  • new feature or bug fixing via a pull requests
  • report issues to the project issues page
  • other ideas
If you like this project please give it a star ⭐. Thanks!

Download:

  • for Linux x86-64: DOWNLOAD
  • for Linux ARM gnueabihf (eg. Raspberry Pi >= 3): DOWNLOAD
  • for Linux ARM aarch64 (eg. Odroid C2): DOWNLOAD
  • for Windows 7, 8, 10 x64: DOWNLOAD
  • for Windows 7, 8, 10 x86(32bit): DOWNLOAD
  • for MacOS x64 (tested on Mojave): DOWNLOAD

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C++cppdownloadergoogle-drivehttps

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言