Update the readme in the Extensions folder.

This commit is contained in:
Steven Black
2016-03-08 17:33:40 -05:00
parent 447934a13b
commit 7ca1bed87b

View File

@@ -2,25 +2,31 @@
Use subfolders under the `extensions` folder to house extensions to the final unified hosts file.
Currently this repo includes two extensions: `social` for common social media sites, and `porn` for porn sites. You can optionally add either or both to your final unified file.
Currently this repo includes three extensions:
Here's a sample call to include the `porn` extension.
* `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 --extensions porn social
python3 updateHostsFile.py -a --extensions porn social gambling
or, in short form:
python3 updateHostsFile.py -e porn social
python3 updateHostsFile.py -a -e porn social gambling
**Using Python 2.7**:
python updateHostsFile.py --extensions porn social
python updateHostsFile.py -a --extensions porn social gambling
or, in short form:
python updateHostsFile.py -e porn social
python updateHostsFile.py -a -e porn social gambling
More built-in extensions are coming soon.