ip = i.xpath('span[@class="f-address"]/text()')[0] port = i.xpath('span[@class="f-port"]/text()')[0]