Can't do basic class-based extraction with XPATH
I can't for the life of me get XPATH queries using classes to work for scraping URLs on a static webpage.
For example, a query like...
//A[@class="foo"]
...yields nothing. As far as I can tell it's a valid query that works just fine with simpler tools.
I'm simply scraping a singly page on Wiktionary, a very basic website, FYI.
Is there something unique about XPATH in Octoparse that I'm just not aware of?
Thanks very much
-
Official comment
Hi wmqpmw,
Thank you for reaching out.
Could you please send over the URL of this webpage for testing?
Using a screenshot to show us where's the item that you tried to locate with this XPath on the webpage would be very helpful.
Looking forward to your reply.
Cheers,
Comment actions
Please sign in to leave a comment.
Comments
1 comment