hosts/extensions
2018-09-04 11:15:17 -04:00
..
fakenews Updates from fakenews, yoyo.org, someonewhocares.org, and malwaredomainlist.com. 2018-03-29 15:39:58 -04:00
gambling Updates from Sinfonietta, yoyo.org, someonewhocares.org, and Badd-Boyz. 2018-09-04 11:15:17 -04:00
porn Updates from sinfonietta, yoyo.org, someonewhocares.org, and lightswitch05. 2018-08-19 16:03:28 -04:00
social Updates from yoyo.org, someonewhocares.org, lighswitch05, KADhosts, CoinBlockerList, and Badd-Boyz. 2018-08-24 11:52:32 -04:00
readme.md Documentation: clarify the role of extensions, and how they work. 2018-05-13 23:46:22 -04:00

Extensions

Use subfolders under this extensions folder to house data sources for extensions to the default unified hosts file.

Currently, this repo includes data sources for four extensions:

  • fakenews for fake news sites.
  • gambling for common online betting sites,
  • porn for porn sites, and
  • social for common social media sites,

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

Using Python 3:

Create a hosts file that includes domain blocking for porn, social media, and gambling.

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