hosts/extensions
2016-12-09 20:59:43 -05:00
..
gambling Change update.info files to update.json, update the python generators, and docs. 2016-12-09 20:59:43 -05:00
porn Change update.info files to update.json, update the python generators, and docs. 2016-12-09 20:59:43 -05:00
social Change update.info files to update.json, update the python generators, and docs. 2016-12-09 20:59:43 -05:00
readme.md remove typo in command example 2016-03-18 11:52:08 +01:00

Extensions

Use subfolders under the extensions folder to house extensions to the final unified hosts file.

Currently this repo includes three extensions:

  • gambling for common online betting sites,
  • social for common social media sites, and
  • porn for porn sites. You can optionally add either or both to your final unified file.

Here are some sample calls, which vary which extensions are included.

Using Python 3:

python3 updateHostsFile.py --auto --extensions porn social gambling

or, in short form:

python3 updateHostsFile.py -a -e porn social gambling

Using Python 2.7:

python updateHostsFile.py -auto --extensions porn social gambling

or, in short form:

python updateHostsFile.py -a -e porn social gambling

More built-in extensions are coming soon.