This file contains 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
import sys | |
from subprocess import PIPE, Popen | |
from threading import Thread | |
try: | |
from Queue import Queue, Empty | |
except ImportError: | |
from queue import Queue, Empty # python 3.x | |
ON_POSIX = 'posix' in sys.builtin_module_names |
This file contains 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; |