Skip to content

Instantly share code, notes, and snippets.

@myfavouritekk
Created August 2, 2015 12:00
Show Gist options
  • Save myfavouritekk/aa57d7ea1c78f8882537 to your computer and use it in GitHub Desktop.
Save myfavouritekk/aa57d7ea1c78f8882537 to your computer and use it in GitHub Desktop.
Download Baidu Yun file using wget
#!/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"
@donalddong1010
Copy link

lol

@MediaMaquina
Copy link

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