I'm trying to scrape the names of all translations (languages), but XPath tree always return some unusable pointer, I think I cannot use at all. This is the website: https://en.wikipedia.org/wiki/Bratislava.
import requests
import lxml.html
page = requests.get('https://en.wikipedia.org/wiki/Bratislava')
tree = lxml.html.fromstring(page.content)
lang = tree.xpath('//*[@id="p-lang"]/div/ul')
print(lang)
Thanks for help.