View Single Post
Old 03-03-2013, 08:27 PM   #51
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,636
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
@Penny_Dreadful - sorry for the delay. The reason it didn't work for you is because your xpath was not actually selecting the text within the node you were just pointing it at a parent node.

Try the following to get an Amazon.com wishlist page to work:
Code:
rows: //div[@id="item-page-wrapper"]//div[@class="lineItemGroup"]
title: div/span[@class="small productTitle"]/strong/a/text()
authors: div[@class="lineItemPart"]/span[@class="authorPart"]/text()
kiwidude is offline   Reply With Quote