This is a sample Python proxy that redirects a request to http://news.ycombinator.com, receives a response, processes the html <body> tag, and appends a Unicode (TM) character to each 6-character word.
pip install --upgrade -r requirements.txt
In project directory run python ./run.py and then, for example, open in browser http://127.0.0.1:8002/item?id=13713480
python -m unittest discover -s ./tests/
Target url http://news.ycombinator.com and proxy port 8002 are hardcoded in script.