Download all images in console with this you can download the images that you can not download via save as option

1- First copy all HARS > Paste in Console in a variable

2- Then execute the function har()

3- So, paste the code and hit enter

Code :

var imageUrls = [];
// Assuming the HAR log is stored in a variable called 'har'
har.log.entries.forEach(function (entry) {
  if (!entry.response.content || !entry.response.content.mimeType || entry.response.content.mimeType.indexOf("image/") !== 0) return;
  imageUrls.push(entry.request.url);
});
console.log(imageUrls.join('\n'));

With this code you can download the all images that is associated with the web page.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.