I am faced with another xpath problem.
The attached image contains the location of the word "Multi Colour" that
i would like to scrape which is from this link;
-
Hi there,
As you can see from the "Parent/child/sibling" part in this tutorial: What is XPath and how to use it in Octoparse, //div[@class='_2aZyWI'] is the parent element here, so we can use this XPath to locate the target data: //div[@class="_2aZyWI"]//*[text()='Colour']/following-sibling::*[1]
Best regards,
Please sign in to leave a comment.
Comments
1 comment