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 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 can configure http://ip-of-your-proxy:8899/wpad.dat
to your browser as a PAC URL .
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.16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96a16fda7ac191919d31852cd32feb723cd2b11cc9dc218574559f6b4c125579 |
|
MD5 | 7660e151fb8bec9cd4f97df40f1d329f |
|
BLAKE2b-256 | f28e6eaa6c9505a58a08ad094d3927d061528c02a3db3ed966dff5c370d7d30e |
Close
Hashes for proxy.py_uxspoilers_plugin-2021.5.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d09aa17481def498abd64eebf343ada542d835115baaeed36d103edc69324787 |
|
MD5 | 4e8be2ec2e213d2d1f91cb1c1f6ff9ac |
|
BLAKE2b-256 | a1260a63aae20e2531ea161c304c0c4d9b2e8d7464a6ac59106d6a0337760877 |