Skip to main content

Baidu Disk


Due to the limitation of Baidu Disk API, downloading files larger than about 20M needs to carry the header: "User-Agent": "", so when downloading files larger than 20M, you need to set the request header yourself, such as using curl:

curl -L -X GET 'YOUR_LINK' -H 'User-Agent:'

Or use the proxy function in this program to transfer.

refresh token

Click here to get the refresh token.

root folder path

The root foler to mount, defaults to /

Download api

  • official: The official interface, very stable, but for larger files, UA needs to be modified and the speed is slow
  • crack: unofficial interface, no need to modify UA and some files may not limit the speed, but maybe unstable