Download all images on the page
See original GitHub issue/download-images
command in the search bar runs the following plugin script
const run = async () => {
const dirHandle = await window.showDirectoryPicker();
const imgs = document.querySelectorAll("img");
let i = 0;
imgs.forEach(async (img) => {
const url = img.src;
const name = `img-${i}.png`;
i++;
try {
console.log(`Fetching ${url}`);
const response = await fetch(url);
console.log(`Saving to ${name}`);
const file = await dirHandle.getFileHandle(name, { create: true });
const writable = await file.createWritable();
await response.body.pipeTo(writable);
} catch (err) {
console.log(err);
}
});
};
run();
https://paul.kinlan.me/bookmarklet-to-download-all-images-on-a-page-with-the-file-system-api/
Issue Analytics
- State:
- Created 3 years ago
- Comments:34 (21 by maintainers)
Top Results From Across the Web
Download All Images - Chrome Web Store
Easily save photos from Instagram, Google Images, etc. Download All Images is the #1 bulk image downloader with over 150K users world wide!...
Read more >How to Download All Images on a Web Page at Once - wikiHow
1. Open Google Chrome or Microsoft Edge. If you have Google Chrome or Edge installed on your computer, you have a variety of...
Read more >Image Extractor
A free tool to extract, view and download images from any website by using a virtual browser.
Read more >Bulk Download All Images In A Web-Page Via FireFox ...
Go to the website having the images you want to download. · Right-click and select View Page Info View Page Info - Firefox...
Read more >Download & Save All Images from web page in Chrome ...
Download & Save All Images from web page in Chrome & Firefox · 1. Open the desired webpage and let it load completely....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Its done @argyleink Please review it 😃
Vacation 😁