Save images from loaded WebView page

Hii kodulars,

I want to save images from my web view app.

for example, I loaded the website youtbue.com and I want to save all images loaded on these pages.

I try to use web view evaluate js scrip but the response received null.

Blocks

blocks

JS Scrip : const imageUrls = Array.from(document.querySelectorAll(‘img’))
for (let j in imageUrls){
console.log(imageUrls[j].src)
}

1 Like

I try to find the URL of the image from the loaded web page.

1 Like

is it not possible?

1 Like

@Boban @Taifun @bodymindpower @vknow360

Have you read this topic? can anyone guide me is it possible or not? if yes then how?

1 Like

Read the Youtube t&c, especially

The following restrictions apply to your use of the Service. You are not allowed to:

  1. access, reproduce, download, distribute, transmit, broadcast, display, sell, license, alter, modify or otherwise use any part of the Service or any Content except: (a) as expressly authorized by the Service; or (b) with prior written permission from YouTube and, if applicable, the respective rights holders

Taifun