Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Added .rs domains support (Serbia) #52

Open
yukh975 opened this issue Mar 9, 2023 · 1 comment
Open

Added .rs domains support (Serbia) #52

yukh975 opened this issue Mar 9, 2023 · 1 comment

Comments

@yukh975
Copy link

yukh975 commented Mar 9, 2023

elif [ "${TLDTYPE}" == "rs" ]; # for .rs domain
then
        tdomdate=`cat ${WHOIS_TMP} | ${AWK} '/Expiration date:/ { print $3 }'`
        tmon=`echo ${tdomdate} | ${CUT} -d'.' -f2`
           case ${tmon} in
                 1|01) tmonth=jan ;;
                 2|02) tmonth=feb ;;
                 3|03) tmonth=mar ;;
                 4|04) tmonth=apr ;;
                 5|05) tmonth=may ;;
                 6|06) tmonth=jun ;;
                 7|07) tmonth=jul ;;
                 8|08) tmonth=aug ;;
                 9|09) tmonth=sep ;;
                 10) tmonth=oct ;;
                 11) tmonth=nov ;;
                 12) tmonth=dec ;;
                 *) tmonth=0 ;;
           esac
        tyear=`echo ${tdomdate} | ${CUT} -d'.' -f3`
        tday=`echo ${tdomdate} | ${CUT} -d'.' -f1`
        DOMAINDATE=`echo $tday-$tmonth-$tyear`
@click0
Copy link

click0 commented Mar 14, 2023

Use my fork.

# ./domain-check-2.sh -V
Script version:  2.67

# ./domain-check-2.sh -d google.rs

Domain                              Registrar                                      Status   Expires     Days Left
----------------------------------- ---------------------------------------------- -------- ----------- ---------
google.rs                           Webglobe d.o.o.                                Valid    10-mar-2024 362

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants