aboutsummaryrefslogtreecommitdiffstats
path: root/docs/scripts
diff options
context:
space:
mode:
authorkira0204 <rshtmudgal@gmail.com>2018-02-24 12:42:21 +0530
committerkira0204 <rshtmudgal@gmail.com>2018-02-24 12:42:21 +0530
commit8209b89d41bdfc3b6a9a3dd5d9054b02722e0d4f (patch)
tree5691f1dd11ac1b2a98e57ed06252ff7dc40cd555 /docs/scripts
parent69dbd1da61e6e452da63c63fba1d810b269f459d (diff)
parenteee109117f956600261bc938be52040d1474a97f (diff)
downloadmitmproxy-8209b89d41bdfc3b6a9a3dd5d9054b02722e0d4f.tar.gz
mitmproxy-8209b89d41bdfc3b6a9a3dd5d9054b02722e0d4f.tar.bz2
mitmproxy-8209b89d41bdfc3b6a9a3dd5d9054b02722e0d4f.zip
Merge branch 'master' of https://github.com/kira0204/mitmproxy into update-readme
Diffstat (limited to 'docs/scripts')
-rwxr-xr-xdocs/scripts/filters.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/scripts/filters.py b/docs/scripts/filters.py
new file mode 100755
index 00000000..e61733a0
--- /dev/null
+++ b/docs/scripts/filters.py
@@ -0,0 +1,9 @@
+#!/usr/bin/env python
+
+from mitmproxy import flowfilter
+
+
+print("<table class=\"table filtertable\"><tbody>")
+for i in flowfilter.help:
+ print("<tr><th>%s</th><td>%s</td></tr>" % i)
+print("</tbody></table>") \ No newline at end of file