To fit currecnt mydns.jp

Page design changed. So bit change is made at line 153 and no needs to retrieve DOMAIN INFO page
This commit is contained in:
msys0843 2022-07-29 17:13:50 +09:00 committed by GitHub
parent fd193eb08d
commit eb87f74310
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,17 +159,6 @@ _mydnsjp_retrieve_domain() {
return 1 return 1
fi fi
_debug "Retrieve DOMAIN INFO page"
#export _H1="Cookie:${cookie}"
#response="$(_get "$MYDNSJP_API/?MENU=300")"
#if [ "$?" != "0" ]; then
# _err "Fail to retrieve DOMAIN INFO."
# return 1
#fi
_root_domain=$(echo "$response" | grep "DNSINFO\[domainname\]" | sed 's/^.*value="\([^"]*\)".*/\1/') _root_domain=$(echo "$response" | grep "DNSINFO\[domainname\]" | sed 's/^.*value="\([^"]*\)".*/\1/')
# Logout # Logout