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
Metadata
Release files for proxy.py-uxspoilers-plugin 2021.5.18.post4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| proxy.py-uxspoilers-plugin-2021.5.18.post4.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| proxy.py_uxspoilers_plugin-2021.5.18.post4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.8 kB
Release files / proxy.py-uxspoilers-plugin-2021.5.18.post4.tar.gz
| Download URL | proxy.py-uxspoilers-plugin-2021.5.18.post4.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c25a53fc165afb5797256aa90526198dd1e89586a797c9825ecba1b153e4edb
|
|
BLAKE2b-256 checksum How to use checksums |
3516c9726ac3b25d040da73e1505b6783e1c4f7a886ad74250084df9f109ab5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / proxy.py_uxspoilers_plugin-2021.5.18.post4-py3-none-any.whl
| Download URL | proxy.py_uxspoilers_plugin-2021.5.18.post4-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1dff21b56963a47f53f8aa4272befb0cd52273815a7e4bda89b146e6b15d23e6
|
|
BLAKE2b-256 checksum How to use checksums |
a1bdf3e01f06f63d2df2acd42d7cb44af2189497e48e63074cc7cdede38ef102
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|