Skip to content

Commit

Permalink
Add Curl User-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
aancw authored Apr 14, 2017
1 parent 6705a96 commit 3356464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dumper/gitdumper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function download_item() {
fi

#Download file
curl -f -k -s "$url" -o "$target"
curl -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36" -f -k -s "$url" -o "$target"

#Mark as downloaded and remove it from the queue
DOWNLOADED+=("$objname")
Expand Down

0 comments on commit 3356464

Please sign in to comment.