I&#39;m making a simple app that will run a local proxy and redirect me away from distracting websites.&nbsp; For example, if I go to <a href="http://facebook.com" target="_blank">facebook.com</a> I&#39;d like it to instead send me to <a href="http://google.com" target="_blank">google.com</a><br>
<div class="gmail_quote">
<br>I&#39;d like to use python and in my research I think a twisted reverse proxy is what I want.&nbsp; I&#39;ve done the examples for setting up a proxy, including one that counts the words on the pages you visit, but i cannot find anything on fetching the destination and re-directing.&nbsp; I&#39;ve been sifting through the many classes of the proxy examples and am pretty lost.&nbsp; Does anyone have some example code for something like this?<br>

<br>Thanks<br><font color="#888888"><br>Dave<br>
</font></div><br>