fod
fod copied to clipboard
[broken link][doc] domain list to foxyproxy-patterns.json convertor
in "foxyproxy-patterns.json" convertor section, link to project "https://github.com/ShahinSorkh/fod" is broken, looks like maintainer removed that repository.
converting domains
file could be done via following command (gnu sed)
curl -Ls https://github.com/freedomofdevelopers/fod/raw/master/domains | sed 's/\./\\\\./g' | sed '
{
s/\(.*\)/\{\"title\": \"undefined\",\"pattern\": \".\*\1\(:\\\\d\*\)\?\$\",\"type\": 2,\"protocols\": 1,\"active\": true\}/
};
1s/^/\{\"whitePatterns\": \[/;
$!s/$/,/;
$a\], \"blackPatterns\": \[\]\}
' >> foxyproxy_fod_whitelist_patterns.json
@ShahinSorkh
That's because foxyproxy has changed its schema and I am not using it anymore. So I removed the repo and am not going to maintain it.
You can remove the reference to the mentioned repo already.