/* right click on an entry in the network log, select Copy All as Har * type in console: x = [paste] * next, paste the following JS code into the console * copy the output, paste into a file (or `cat > image-list.txt`, paste output, and hit ^D on a new line) * then wget -i [that file] * `mime` can be full or partial matches, e.g., "image/" or "image/png" * TODO: regexp on mime param. */ (function(logObj, mime) { var results = []; logObj.log.entries.forEach(function (entry) { if (mime && entry.response.content.mimeType.indexOf(mime) === -1) return; results.push(entry.request.url); }); console.log(results.join('\n')); })(x, 'image/jpeg');