mirror of
https://github.com/StevenBlack/hosts.git
synced 2024-07-04 03:26:12 +02:00
Update the readme in the extensions folder.
This commit is contained in:
parent
2e8a95e975
commit
e8963b2a6c
|
@ -2,24 +2,25 @@
|
|||
|
||||
Use subfolders under the `extensions` folder to house extensions to the final unified hosts file.
|
||||
|
||||
Currently this repo includes a `porn` extension which you can optionally add to your final unified 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.
|
||||
|
||||
Here's a sample call to include the `porn` extension.
|
||||
|
||||
**Using Python 3**:
|
||||
|
||||
python3 updateHostsFile.py --extensions porn
|
||||
python3 updateHostsFile.py --extensions porn social
|
||||
|
||||
or, in short form:
|
||||
|
||||
python3 updateHostsFile.py -e porn
|
||||
python3 updateHostsFile.py -e porn social
|
||||
|
||||
**Using Python 2.7**:
|
||||
|
||||
python updateHostsFile.py --extensions porn
|
||||
python updateHostsFile.py --extensions porn social
|
||||
|
||||
or, in short form:
|
||||
|
||||
python updateHostsFile.py -e porn
|
||||
python updateHostsFile.py -e porn social
|
||||
|
||||
|
||||
More built-in extensions are coming soon.
|
||||
|
|
Loading…
Reference in New Issue
Block a user