No project description provided
Project description
proxy.py-uxspoilers-plugin
A plugin for proxy.py to spoil UX of web browsing
You can spoil User Experience of e.g. YouTube with a combination of proxy.py plus proxy.py-uxspoilers-plugin and a kind of following PAC/WPAD file.
function FindProxyForURL(url, host)
{
if (shExpMatch(host, "*youtube*") || shExpMatch(host, "*.googlevideo.com"))
{
return "PROXY ip-of-your-proxy:8899";
}
return "DIRECT";
}
Run your proxy server like this:
proxy --hostname=0.0.0.0 --pac-file /path/to/wpad.dat --plugin uxspoilers.FixedRustyPumpPlugin --pause-seconds 3
Your /etc/dhcp/dhcpd.conf
should look like this:
option wpad code 252 = text;
host target-device {
option wpad "http://ip-of-your-proxy:8899/wpad.dat";
hardware ethernet 2e:8d:8d:xx:xx:xx;
}
Or you may configure your browser's PAC with http://ip-of-your-proxy:8899/wpad.dat
manually.
Installation
pip3 install proxy.py-uxspoilers-plugin
proxy --help --plugin uxspoilers.RandomRustyPumpPlugin
Docker
docker run -it sakuraiyouhei/proxy.py-uxspoilers-plugin --help --plugin uxspoilers.RandomRustyPumpPlugin
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for proxy.py-uxspoilers-plugin-2021.5.18.post3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a6825e174446b55dbf57491c5f239f82e22f1470f85e2af9d61b686dc87c2a7 |
|
MD5 | 1cf1930f79e1f98b627ed3f5929274ee |
|
BLAKE2b-256 | d93c6facd14f256e106d18ec1b0ae8a23a56dfb5120f175cee45e1decc0433bc |
Close
Hashes for proxy.py_uxspoilers_plugin-2021.5.18.post3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 431bde0d0f7dc8d23a5226e1045f6df63a9eb3141c0babb5fe295b28237145ab |
|
MD5 | d0364c327753d52aee55703abccfcb7d |
|
BLAKE2b-256 | 8ec91da0579ebc12b6f139b0febc8f2ace97d14b6846e7365a06ca5d6d2249a9 |