Extract Youtube_Videos id

Hi…

How to Extract the Unique Video id from youtube…

i get from ui explorer…

write id and name to excel sheet.

Thanks
Shyam

try to use get attribute activity with attribute name as “href”

Hi @Lak_Ui

i tried… its blank…

image

Thanks
Shyam

can you try including the row which href in the selector

Hi @Lak_Ui

Explain in details …

@Shyam_Pragash

Instead of using href use “url”… Then split with “=”

if you give url then you will get the out as a string. suppose if it is outVal

Split(outVal,“=”)(0)

Hi @Rahul_Unnikrishnan

Get all video ids in the website…

Thanks
Shyam

@Shyam_Pragash
Suggesting to use Table Extraction in Uipath. It will help to get all the urls in the page. Then you can use regex to split only id.

image

@Rahul_Unnikrishnan

my requirement is i want to take all video in anysite…

for reference i take youtube…

if i type “tutorial” in the seach bar… Some video available on the screen… Available video id to be taken till end of the page… …

Thanks
Shyam

@Shyam_Pragash The same can be achieved with table extraction. It will be a pattern based extraction using Table Extraction feature.

Start table extraction->Indicate any 2 videos. Then it will extract the data (url) from the entire page as a datatable.

@Rahul_Unnikrishnan

Table extraction activity also used… but i have 20 links only. can able to get all…

Thanks
Shyam

@Shyam_Pragash
Its because at a time 20 links are loading.

Maybe you can try adding some loop along with Send hotkeys and extraction.