-
-
Save jthrilly/430b0e5134a304e9f6606c8a539ea4fd to your computer and use it in GitHub Desktop.
PAC file for routing iPlayer requests over a local SOCKS proxy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function FindProxyForURL(url, host) | |
{ | |
if (shExpMatch(url, "*.bbc.co.uk/iplayer*") | |
|| shExpMatch(url, "*.bbc.co.uk/mediaselector*") | |
|| shExpMatch(url, "zaphod-live.bbc.co.uk.edgesuite.net/*") | |
|| shExpMatch(url, "bbcfmhds.vo.llnwd.net/*")) | |
{ | |
return "SOCKS 127.0.0.1:1055"; | |
} | |
else | |
{ | |
return "DIRECT"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment