only get ip from html if the check didn't fail