-
-
Save fallive/593f6960f770da3ab678d49d544cc375 to your computer and use it in GitHub Desktop.
Download Baidu Yun file using wget
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # referer url is public share links | |
| # file url can be found via browser downloading | |
| referer_url=$1 | |
| file_url=$2 | |
| save_name=$3 | |
| wget --referer=$referer_url -O $save_name "$file_url" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment