Browse Source
World4You Bugfix unable to parse paketnr
pull/3313/head
Lorenz Stechauner
4 years ago
No known key found for this signature in database
GPG Key ID: C9691D623AFF3424
1 changed files with
2 additions and
1 deletions
-
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 |
|
|
|
} |