Skip to content

Commit

Permalink
Pure wget as User-Agent was causing problems
Browse files Browse the repository at this point in the history
  • Loading branch information
merces committed Nov 27, 2024
1 parent 9dcda66 commit ae19695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/bh_unshort.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bh_unshort() {
(( $# < 1 )) && return 1

bh_cmd_wget --max-redirect 0 --spider "$1" 2>&1 | grep -E '^Loca(tion|liza..o):' | cut -d' ' -f2
wget -T10 --max-redirect 0 --spider "$1" 2>&1 | grep -E '^Loca(tion|liza..o):' | cut -d' ' -f2
}

0 comments on commit ae19695

Please sign in to comment.