import requests
from lxml import html
page = requests.get(url="http://www.cia.gov/library/publications/the-world-factbook/geos/ch.html")
tree = html.fromstring(page.content)
bordering = tree.xpath('//*[@id="wfb_data"]/table/tr[4]/td/ul[3]/li[4]/div[17]/span[2]/text()')
print bordering
I retrieved the xPath using chrome developer mode, but it is still giving me an empty "bordering" variable. I'm at a loss for what could be wrong.