Having trouble extracting.
I'm having trouble extracting the phone number from the following company directory site:
https://us.kompass.com/a/food/03/
Once I click into the company information I need to click the "call the company" to have the phone # display in order to extract the data. I've tried using xpath in the advanced options but that's not working, I get an error 200 message. The xpath I'm using I'm getting from inspecting on the button from the website and using the Copy/XPAth function. Anyone have any other suggestions?
//*[@id="contactCompanyHipayModalBody-contactCompanyForCompany-US1059991"]/div/div[3]/a
Thanks in advance
-
Official comment
Hi jeremyear,
Thank you for reaching out.
Please try this XPath: //div[@class="freePhoneNumber"]
Best regards,
Comment actions -
Hi jeremyear,
Thank you for your reply.
Please submit a ticket through https://helpcenter.octoparse.com/hc/en-us/requests/new with the task you built attached. So we can check if the workflow and other settings are correct.
Please follow the instructions in this tutorial to export the task: How to export a task?
Cheers,
Please sign in to leave a comment.
Comments
3 comments