-
-
Save Desolace/f0ac2fc85e9457db10c652d49065bb8e to your computer and use it in GitHub Desktop.
Save images from chrome inspector network tab
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* right click on an entry in the network log, select Copy All as Har | |
| * type in console: x = [paste] | |
| * paste the following JS code into the console | |
| * copy the output, paste into a file | |
| * then wget -i [that file] | |
| */ | |
| (function(logObj, mime) { | |
| var results = []; | |
| logObj.log.entries.forEach(function (entry) { | |
| if (mime && entry.response.content.mimeType !== mime) return; | |
| results.push(entry.request.url); | |
| }); | |
| console.log(results.join('\n')); | |
| })(x, 'image/jpeg'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment