HI
i have this URL Real Estate House Logo Revealer by palnoise | VideoHive
what i need is to retrieve VIdeo and Image URL from this website
can anyone help me with this?
i have written a jQuery Code $(“.js-video-player”).attr(‘href’); but while injecting this with inject JS activity it Gives reference error
is there any other way we can get these 2 urls ?
ppr
(Peter Preuss)
June 24, 2020, 9:12pm
2
@faiqaqureshi90
welcome to the forum
the get Attribute Acitivity is used for such tasks
for the video: on a element the attribute href is to retrieve
for the image: on img element the src attribute is to retrieve
there is no href and src activity in this dropdown
ppr
(Peter Preuss)
June 24, 2020, 9:17pm
4
maybe it has selected the div and not the link or image
in such case the indicate item sometimes needs to be crosschecked and manually to reworked.
click on the element config button (three lines button)
selecet open in UiExplorer
edit and correct the selector
in firefox:
<html app='firefox.exe' title='Real Estate House Logo Revealer by palnoise | VideoHive' />
<webctrl aaname='Play preview video' parentid='content' tag='IMG' />
for the image, especially the last line is important
for the link:
<html app='firefox.exe' title='Retrieve video and image URL from this website - Learn / Academy*' />
<webctrl parentid='content' tag='DIV' class='video-preview-wrapper' />
<webctrl parentid='content' tag='A' />
ppr
(Peter Preuss)
June 24, 2020, 9:33pm
6
which browser are you using?
firefox
this is my selector now
and still i cannot find src in drop down of get attribute activity
if i type src manually in it it give me blank output
ppr
(Peter Preuss)
June 24, 2020, 9:42pm
9
find starter help here:
getSrcHref.xaml (6.5 KB)
download the file properly into your UiPath project and open it from there
it is logging src and href:
is there any specific package you are using?
ppr
(Peter Preuss)
June 24, 2020, 9:47pm
12
check and change the versions as by screenshot
close and reopen the XAML
not available in manage packages
do i have to update studio? i am using 2019.4.4
system
(system)
Closed
June 27, 2020, 10:15pm
15
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.