diff --git a/scripts/hostmap-robtex.nse b/scripts/hostmap-robtex.nse
index c379a96a0..3739c13a6 100644
--- a/scripts/hostmap-robtex.nse
+++ b/scripts/hostmap-robtex.nse
@@ -37,7 +37,7 @@ categories = {
function parse_robtex_response (data)
local result = {};
- for linkhref, domain in string.gmatch(data, "([^<]-)") do
+ for domain in string.gmatch(data, " 0) then