File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ readonly YELLOW="\033[00;33m"
2323readonly BOLD=" \033[01m"
2424readonly FINE=" \033[0m"
2525
26- ver=' v1.7.3 '
26+ ver=' v1.7.4 '
2727regex=' (https?|ftp|file)://[-A-Za-z0-9\+&@#/%?=~_|!:,.;]*\.[A-Za-z0-9\+&@%#/=~_|():?]+'
2828is_z0r=' http://z0r.it/[^ \n]'
2929url=(http://$1 )
@@ -87,7 +87,7 @@ stats(){
8787mss (){
8888 for i in ${@: 2} ; do
8989 mass=$( curl -s -L " http://z0r.it/yourls-api.php?signature=$apikey &action=shorturl&title=uploaded_with_z0r_script&format=simply&url=$( echo $i | sed ' s/?/%3F/' ) " | awk -F ' /' ' {print$NF}' )
90- if wget --spider " $i " 2> /dev/null || curl -s --head $1 | head -n 1 | grep -q " 405" ; then
90+ if wget --spider " $i " 2> /dev/null || curl -s --head $i | head -n 1 | grep -q " 405" ; then
9191 if [ -n " $mass " ] ; then
9292 if curl $mode -L " http://z0r.it/yourls-api.php?signature=$apikey &action=shorturl&title=uploaded_with_z0r_script&format=simply&url=$( echo $i | sed ' s/?/%3F/' ) " | grep -q " Errore 406" ; then
9393 echo -e $RED " Error 406 - URL not valid(try to use https instead of http)" $FINE
You can’t perform that action at this time.
0 commit comments