Browse Source

World4You Bugfix unable to parse paketnr

pull/3313/head
Lorenz Stechauner 4 years ago
parent
commit
48b2a271cc
No known key found for this signature in database GPG Key ID: C9691D623AFF3424
  1. 3
      dnsapi/dns_world4you.sh

3
dnsapi/dns_world4you.sh

@ -185,7 +185,8 @@ _get_paketnr() {
fi
TLD="$domain"
_debug domain "$domain"
RECORD=$(echo "$fqdn" | cut -c"1-$((${#fqdn} - ${#TLD} - 1))")
PAKETNR=$(echo "$form" | grep "data-textfilter=\" $domain " | _head_n 1 | sed 's/^.* \([0-9]*\) .*$/\1/')
PAKETNR=$(echo "$form" | grep "data-textfilter=\".* $domain " | _head_n 1 | sed 's/^.* \([0-9]*\) .*$/\1/')
return 0
}
Loading…
Cancel
Save