forked from mitmproxy/mitmproxy
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from browserup/better-page-data
Better page data
- Loading branch information
Showing
310 changed files
with
17,370 additions
and
3,216 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
The following instructions are used for updating to a new | ||
version of mitmproxy. | ||
|
||
----------------------------------------- | ||
|
||
Fix websocket connection missing issue for our internal websocket: | ||
|
||
mitmproxy/addons/browserup/test/mitmproxy/addons/browserupclients/ | ||
|
||
mitmproxy/proxy/layers/http/__init__.py | ||
|
||
|
||
elif isinstance(command, SendHttp): if command.connection in self.connections: conn = self.connections[command.connection] yield from self.event_to_child(conn, command.event) else: self.debug(f"No connection found for key: {command.connection}") | ||
|
||
|
||
Copy: | ||
|
||
mitmproxy/addons/browserup/ | ||
test/mitmproxy/addons/browserup | ||
clients/ | ||
|
||
Adjust setup.py to have the browserup executable entrypoint: | ||
setup.py | ||
|
||
|
||
entry_points={ "console_scripts": [ "mitmproxy = mitmproxy.tools.main:mitmproxy", "mitmdump = mitmproxy.tools.main:mitmdump", "mitmweb = mitmproxy.tools.main:mitmweb", "browserup-proxy = mitmproxy.tools.main:browserupproxy", ], "pyinstaller40": [ "hook-dirs = mitmproxy.utils.pyinstaller:hook_dirs", ]}, | ||
|
||
Add scripts folder: | ||
|
||
scripts/browsertime/browser-data.js | ||
|
||
Add (falcon, etc) to: | ||
|
||
setup.py |
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
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
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
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
Oops, something went wrong.