I'm scraping with scrapy this url: http://quotes.toscrape.com/
it works great when I do:
response.xpath("//meta[@itemprop='keywords']/@content").extract()
response.xpath("//meta[@itemprop='keywords'][1]/@content").extract_first()
but when I try to get the second meta from that list of metas using the index
response.xpath("//meta[@itemprop='keywords'][2]/@content").extract_first()
it doesn't work.
What am I missing?
Thanks!