Kaynat
(Kaynat Nasim)
July 10, 2018, 7:31am
1
I want to scrape data from google according to the search the user makes, that is the scraping topic will vary. how to edit the selector? how can i do this type of scraping?
for example,
i have automated the data scraping by searching a manufacturer name (for example ABB) but i want to make the automation as such that the program will extract data even if i change the name (for example anything other than ABB).
TimK
(Tim Kok)
July 10, 2018, 8:12am
2
You can wildcard the selector using *.
E.g. Selector =
change to:
KEntwistle
(Katie Entwistle)
July 10, 2018, 9:12am
3
Hi
Please see the solution in the below thread:
Hello ,
Could you please guide me on how to pass variables in selectors
Divyashreem
(Divyashree Muddagangaiah)
July 10, 2018, 10:42am
4
check here for dynamic selectors:
At the time of development you have observed this then you can relay on most stable attributes instead of title and can make the variable part dynamic.
Their are approaches depends on usage and needs mate. it depends on need and environment scenario.
if you wanna replace in a once shot. so already mentioned with other guy just open .xaml in notepad and replace all in a once shot
Regards…!!
Aksh
Kaynat
(Kaynat Nasim)
July 18, 2018, 9:43am
5
can you elaborate the use of wildcard editing in selector for data scraping
TimK
(Tim Kok)
July 18, 2018, 10:02am
6
Do you have an example of the selector you are using to scrape data for ABB?
Kaynat
(Kaynat Nasim)
July 18, 2018, 10:07am
7
trialextract with any input.xaml (11.6 KB)
this is the program
i want to use wild card so that it scrapes whatever data that is searched by the user
Kaynat
(Kaynat Nasim)
July 18, 2018, 10:11am
8
trialextract with any input.xaml (11.6 KB)
this is the program
i want to use wild card so that it scrapes whatever data that is searched by the user
TimK
(Tim Kok)
July 18, 2018, 5:24pm
9
The workflow seems to work for me - it extracts the name and URL for a variety of searches.
The wildcard (**) replaces what is replaces part of the selector to make it dynamic- i.e. title=‘ABB’ - title=‘*’ as you have done.
Wildcard explanation