added `-L` to curl options to avoid empty responses
- changed URL to non-www as wellpull/1012/head
parent
702d923054
commit
20a8f10102
|
|
@ -22,7 +22,7 @@ function down4me ()
|
||||||
param '1: website url'
|
param '1: website url'
|
||||||
example '$ down4me http://www.google.com'
|
example '$ down4me http://www.google.com'
|
||||||
group 'base'
|
group 'base'
|
||||||
curl -s "http://www.downforeveryoneorjustme.com/$1" | sed '/just you/!d;s/<[^>]*>//g'
|
curl -Ls "http://downforeveryoneorjustme.com/$1" | sed '/just you/!d;s/<[^>]*>//g'
|
||||||
}
|
}
|
||||||
|
|
||||||
function myip ()
|
function myip ()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue