l pkgs.acronym: follow redirects
This commit is contained in:
parent
124a6a9a9a
commit
e1aa52d4d1
|
@ -6,7 +6,7 @@ pkgs.writeScriptBin "acronym" ''
|
|||
|
||||
acro=$1
|
||||
|
||||
curl -s http://www.acronymfinder.com/$acro.html \
|
||||
curl -L -s http://www.acronymfinder.com/$acro.html \
|
||||
| grep 'class="result-list__body__rank"' \
|
||||
| sed '
|
||||
s/.*title="\([^"]*\)".*/\1/
|
||||
|
|
Loading…
Reference in a new issue