diff options
author | Jonathan Jones <jjones646@users.noreply.github.com> | 2016-05-14 07:39:17 -0400 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2016-05-14 05:39:17 -0600 |
commit | 551fafd451a6696b23af1a8192f8a769ff9cc627 (patch) | |
tree | 188d75811db92d939831d2d6542d31f306f963b1 | |
parent | f969c700153e4aedb74d9eed66de697a549261c3 (diff) | |
download | mitmproxy-551fafd451a6696b23af1a8192f8a769ff9cc627.tar.gz mitmproxy-551fafd451a6696b23af1a8192f8a769ff9cc627.tar.bz2 mitmproxy-551fafd451a6696b23af1a8192f8a769ff9cc627.zip |
showing url for terminals that support clickable links when starting mitmweb (#1141)
-rw-r--r-- | mitmproxy/web/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mitmproxy/web/__init__.py b/mitmproxy/web/__init__.py index 62468d95..956d221d 100644 --- a/mitmproxy/web/__init__.py +++ b/mitmproxy/web/__init__.py @@ -184,6 +184,8 @@ class WebMaster(flow.FlowMaster): iol.add_callback(self.start) tornado.ioloop.PeriodicCallback(lambda: self.tick(timeout=0), 5).start() try: + print("Server listening at http://{}:{}".format( + self.options.wiface, self.options.wport), file=sys.stderr) iol.start() except (Stop, KeyboardInterrupt): self.shutdown() |