Logged In: NO

the best would be not to check for a string if the domain is registered but also for a string if the domain is not registered.

if the parse not found both strings: then the request answer with a error status

the .ch whois have also a strong access control limit :-(