LocalHost Webfilter, #1315
-
Hello, I would like to use proxy.py to filter websites and it's content (such as vulgarities). Is this possible with python and on localhost? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @AzlanCoding , yes there are existing plugin example which demonstrate how to filter content. Please take those skeleton example to introduce your own custom filtering. Example, https://github.com/abhinavsingh/proxy.py#filterbyupstreamhostplugin is one such plugin. |
Beta Was this translation helpful? Give feedback.
-
Is there a way to redirect the user to another website instead of returning http 418? |
Beta Was this translation helpful? Give feedback.
Hi @AzlanCoding , yes there are existing plugin example which demonstrate how to filter content. Please take those skeleton example to introduce your own custom filtering. Example, https://github.com/abhinavsingh/proxy.py#filterbyupstreamhostplugin is one such plugin.