hosts/extensions/readme.md

33 lines
811 B
Markdown
Raw Normal View History

# Extensions
2016-02-28 02:16:41 +01:00
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.
2016-02-23 16:05:16 +01:00
**Using Python 3**:
2016-03-18 11:52:08 +01:00
python3 updateHostsFile.py --auto --extensions porn social gambling
2016-02-23 16:05:16 +01:00
or, in short form:
python3 updateHostsFile.py -a -e porn social gambling
2016-02-23 16:05:16 +01:00
**Using Python 2.7**:
python updateHostsFile.py -auto --extensions porn social gambling
2016-02-23 16:05:16 +01:00
or, in short form:
python updateHostsFile.py -a -e porn social gambling
2016-02-23 16:05:16 +01:00
More built-in extensions are coming soon.