Giter Club home page Giter Club logo

baidudl's Introduction

baidudl

This is a multi-thread download tool for linux, mainly used to download large file from pan.baidu.com. 百度网盘多线程下载工具, 支持协议http, https, ftp, 支持平台Linux, Unix-Like, OSX, 支持断点续传.

Hello everyone! After fixed the pan.baidu.com refuse wrong User-Agent request problem, welcome to enjoy the multi-threading based download acceleration experience. default is using 100 threads, use "-n num-threads" option to set the maximum number of threads to be used for download.

image

Features

  1. multithreading download, number of threads depending on server.
  2. continues download, supports restore download from a previous file.
  3. http, https, ftp protocol supports. (axel is great, but no https supports)
  4. graceful status bar.
  5. Linux, Unix-like, OSX supports, (still no time to port it to windows, mainly, use windows native threads supports to replace Linux's pthread).

Compile

if you want to use the latest version program, maybe you should
try compile it. the pre-compiled packages are provided also. but,
I can not make sure it's latest version. because the latest code
on repository may not stable.

$ git clone https://github.com/yzfedora/baidudl.git
$ cd baidudl
$ ./autogen.sh
$ make
$ sudo make install

Install

if you don't want to compile manually, the pre-compiled packages were
provided, please go to subdirectory "packages", then you will find it.

$ git clone https://github.com/yzfedora/baidudl.git

For RPM systems:

$ cd baidudl/packages/rpms
$ sudo [yum | dnf] install baidudl-1.0-1.x86_64.rpm

For Debian/Ubuntu systems:

$ cd baidudl/packages/debs
$ sudo dpkg -i baidudl_1.0-1_amd64.deb

Usage

download from a single url:
$ bdpandl -n 8 'http://lx.cdn.baidupcs.com/file/...'

or if you want to speed as fast as possible. try increase the -n
option, maybe -n 100 or -n 200. 0.0, I think this would fast enough.

I sugges you using single quotes to surround the url, prevent bash
parsing extra symbols.

if you want to download many files, you can store these urls to a file,
then using -f option:
$ bdpandl -n 10 -f listfile

Notice

The download address is copy from your browser, when you click the
download button in the page of pan.baidu.com/..., then it pop a new
link or windows to download. this link just we need.


Any suggestions or bugs you can report to <[email protected]>
					Thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.