Created
August 2, 2015 12:00
-
-
Save myfavouritekk/aa57d7ea1c78f8882537 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" |
Nice but needs a method to grab file url automatically given a list of referer urls.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
lol