Retrieve video and image URL from this website

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 ?

@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

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' />

still no luck

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

any suggestions?

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?

check and change the versions as by screenshot
close and reopen the XAML
grafik

not available in manage packages
do i have to update studio? i am using 2019.4.4

Hey thanks it worked

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