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.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 169b9bf2d9e8904d7440cc0e9e6aaaca80a01fe458a0e065fedd28c47e801a77 |
|
MD5 | 83f286504933ccc62c56835c45a6e708 |
|
BLAKE2b-256 | 23e57823744993a1746787fbdd1de9fb6a8d388400ef718ad97436f0cafe7d30 |
Close
Hashes for proxy.py_uxspoilers_plugin-2021.5.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b4c8b3ca88e281399c4f514feb1b5a6f70726cf887708b500c30492d9d30a75 |
|
MD5 | 267d55329eea4538b242523437c2eafa |
|
BLAKE2b-256 | 4a5a792e7316f65ae1241561dfdd8881523ab9496cf025af8676fcd9f3280510 |