I built a task to scrape Google Maps
it works on the first page but then doesn't pick up the same information on next page. so it will drop the website into the address and then phone number elsewhere. i know this is user error, can you help me out? Thank you
-
Hi there,
Thank you for reaching out.
In order to always capture the target data into the same data field, we need to modify the XPath of the data field, for example, to scrape phone numbers, we can inspect the source code first, and came up with the most suitable writing of XPath(check image below), to learn more about how to modify XPath, please refer to: What is XPath and how to use it in Octoparse
To scrape the address, we should modify the XPath into:
Please sign in to leave a comment.
Comments
1 comment