Can't scrape unstructured data

It may be due to dynamic selectors :slight_smile:

I tried unchecking that too…

I’ll help you on this one :slight_smile:

Thanks

@Nikhil_Khapre,

I have gone through your work flow. After going to each url and want to scrape Address, rest website, Contact no and Specialty right ?

Are you trying to write those scraped data result into excel file or what ?

Yes, I am trying to write that scraped data into excel file. And for the above part, you got everything right.

1 Like

Hi @Nikhil_Khapre,

Can you try this revised .xaml file?
dal_1.xaml (24.8 KB)

If there are any issues, please don’t hesitate to ask for help.

Thanks and regards,
Despi

1 Like

What I just did here was: I updated the selectors :slight_smile:

@Nikhil_Khapre,

Use Write Cell activity to write into excel file but you did not use that activity in your workflow.

1 Like

it is showing an exception
19.3.0+Branch.master.Sha.5fdb43627d7d3c011018bb545ddf9470210d44a9

Source: Get Text ‘ADDRESS’ (Get Text ‘ADDRESS’)

Message: Cannot find the UI element corresponding to this selector:

Exception Type: UiPath.Core.SelectorNotFoundException

An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
UiPath.Core.SelectorNotFoundException: Cannot find the UI element corresponding to this selector: ----> System.Runtime.InteropServices.COMException: Cannot find the UI element corresponding to this selector:
at UiPath.UiNodeClass.FindFirst(UiFindScope scope, String nodeID)
at UiPath.Core.UiElement.FindFirst(FindScope scope, Selector selector)
— End of inner ExceptionDetail stack trace —
at UiPath.Core.Activities.ScopeActivity.OnFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

1 Like

Hi @Nikhil_Khapre,

use dynamic selector & try

wouldn’t “write range” work in the last section work as “readDT” datatable is taking the item for each row?
If not, then do I have to use “write cell” activity after each “assign” activity?

Hi @Nikhil_Khapre, it is better to do write cell on this one.

Okay, I’ll try write cell. Thanks for helping.

1 Like

the selector is working fine except in Shivas Bar & Grill because of the ‘&’

can you share your files with me?
I tried it using write cell but it is throwing exception. I am uploading my files here. Please check and help me with my mistakesdal_1.xaml (28.9 KB)

1 Like

Hi @Nikhil_Khapre,
I am currently creating the solution. I will send it in a while.

Thank you!
Despi

Thank you for helping.

1 Like

Hi @Nikhil_Khapre,

Here is the flow. dal_1.xaml (31.5 KB)
I hope you find this as the solution.

Thanks and regards,
Despi

6 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.