lundi 31 mars 2014

struggling on xpath establishment


Vote count:

0




I'm trying to establish the xpath for this page:


http://ift.tt/Pbz4w1


items I want to scrape are brand, model name and price respectively for all smartphones, as shown on the photo:


enter image description here


however I'm struggling to establish the valid main xpath. tried to test few xpath, finishing with this one:



sel.xpath('//div[@style="position: relative;"]').extract()


but no success.


Any hints on this?


Thanks!



asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire