diff --git a/lib/hma-proxy-parse.coffee b/lib/hma-proxy-parse.coffee index fd0c872..9e6727e 100644 --- a/lib/hma-proxy-parse.coffee +++ b/lib/hma-proxy-parse.coffee @@ -20,7 +20,7 @@ module.exports = (html) -> element = $(this) timestamp = element.children(".timestamp").attr("rel") port = element.children("td:nth-of-type(3)").text().replace(/\n/g, "").trim() - country = element.find("td.country").parent().attr("rel") + country = element.find("td.country").attr("rel") speed = element.find("td .progress-indicator").eq(0).attr("value") connectionTime = element.find("td .progress-indicator").eq(1).attr("value") protocol = element.children("td:nth-of-type(7)").text().replace(/\n/g, "").trim()