mirror of
https://github.com/StevenBlack/hosts.git
synced 2024-06-16 10:54:20 +02:00
Added metadata to Sinfonietta’s hosts source files.
This commit is contained in:
parent
0877758116
commit
7119b725e7
|
@ -43,12 +43,14 @@ Telemetry | Windows users tracking sites based on https://github.com/Nummer/Dest
|
|||
tyzbit | Microsoft tracking domains. A fork of this repo providing additional data. |[link](https://github.com/tyzbit/hosts/blob/master/data/tyzbit/hosts) | [raw](https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts) | rarely
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasional
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently
|
||||
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional
|
||||
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional
|
||||
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. You manage extensions by curating the `extensions/` folder tree.
|
||||
See the `social`, `gambling`, and `porn` extension which are included in this repo, for example.
|
||||
The unified hosts file is extensible. You manage extensions by curating the `extensions/` folder tree. See the `social`, `gambling`, and `porn` extension folders.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
|
|
|
@ -43,12 +43,13 @@ Telemetry | Windows users tracking sites based on https://github.com/Nummer/Dest
|
|||
tyzbit | Microsoft tracking domains. A fork of this repo providing additional data. |[link](https://github.com/tyzbit/hosts/blob/master/data/tyzbit/hosts) | [raw](https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts) | rarely
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasional
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently
|
||||
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional
|
||||
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. You manage extensions by curating the `extensions/` folder tree.
|
||||
See the `social`, `gambling`, and `porn` extension which are included in this repo, for example.
|
||||
The unified hosts file is extensible. You manage extensions by curating the `extensions/` folder tree. See the `social`, `gambling`, and `porn` extension folders.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
|
|
|
@ -43,12 +43,13 @@ Telemetry | Windows users tracking sites based on https://github.com/Nummer/Dest
|
|||
tyzbit | Microsoft tracking domains. A fork of this repo providing additional data. |[link](https://github.com/tyzbit/hosts/blob/master/data/tyzbit/hosts) | [raw](https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts) | rarely
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasional
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently
|
||||
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional
|
||||
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. You manage extensions by curating the `extensions/` folder tree.
|
||||
See the `social`, `gambling`, and `porn` extension which are included in this repo, for example.
|
||||
The unified hosts file is extensible. You manage extensions by curating the `extensions/` folder tree. See the `social`, `gambling`, and `porn` extension folders.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
|
|
|
@ -43,12 +43,12 @@ Telemetry | Windows users tracking sites based on https://github.com/Nummer/Dest
|
|||
tyzbit | Microsoft tracking domains. A fork of this repo providing additional data. |[link](https://github.com/tyzbit/hosts/blob/master/data/tyzbit/hosts) | [raw](https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts) | rarely
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasional
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently
|
||||
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. You manage extensions by curating the `extensions/` folder tree.
|
||||
See the `social`, `gambling`, and `porn` extension which are included in this repo, for example.
|
||||
The unified hosts file is extensible. You manage extensions by curating the `extensions/` folder tree. See the `social`, `gambling`, and `porn` extension folders.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
|
|
|
@ -43,12 +43,13 @@ Telemetry | Windows users tracking sites based on https://github.com/Nummer/Dest
|
|||
tyzbit | Microsoft tracking domains. A fork of this repo providing additional data. |[link](https://github.com/tyzbit/hosts/blob/master/data/tyzbit/hosts) | [raw](https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts) | rarely
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasional
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently
|
||||
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional
|
||||
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. You manage extensions by curating the `extensions/` folder tree.
|
||||
See the `social`, `gambling`, and `porn` extension which are included in this repo, for example.
|
||||
The unified hosts file is extensible. You manage extensions by curating the `extensions/` folder tree. See the `social`, `gambling`, and `porn` extension folders.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
|
|
|
@ -43,12 +43,12 @@ Telemetry | Windows users tracking sites based on https://github.com/Nummer/Dest
|
|||
tyzbit | Microsoft tracking domains. A fork of this repo providing additional data. |[link](https://github.com/tyzbit/hosts/blob/master/data/tyzbit/hosts) | [raw](https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts) | rarely
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasional
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently
|
||||
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. You manage extensions by curating the `extensions/` folder tree.
|
||||
See the `social`, `gambling`, and `porn` extension which are included in this repo, for example.
|
||||
The unified hosts file is extensible. You manage extensions by curating the `extensions/` folder tree. See the `social`, `gambling`, and `porn` extension folders.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
|
|
|
@ -43,12 +43,12 @@ Telemetry | Windows users tracking sites based on https://github.com/Nummer/Dest
|
|||
tyzbit | Microsoft tracking domains. A fork of this repo providing additional data. |[link](https://github.com/tyzbit/hosts/blob/master/data/tyzbit/hosts) | [raw](https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts) | rarely
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasional
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently
|
||||
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. You manage extensions by curating the `extensions/` folder tree.
|
||||
See the `social`, `gambling`, and `porn` extension which are included in this repo, for example.
|
||||
The unified hosts file is extensible. You manage extensions by curating the `extensions/` folder tree. See the `social`, `gambling`, and `porn` extension folders.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{
|
||||
"name": "Sinfonietta's gambling blocking hosts file",
|
||||
"description": "A collection of category-specific host files.",
|
||||
"homeurl": "https://github.com/Sinfonietta/hostfiles",
|
||||
"frequency": "occasional",
|
||||
"issues": "https://github.com/Sinfonietta/hostfiles/issues",
|
||||
"url": "https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts"
|
||||
}
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{
|
||||
"name": "Sinfonietta's porn blocking hosts file",
|
||||
"description": "A collection of category-specific host files.",
|
||||
"homeurl": "https://github.com/Sinfonietta/hostfiles",
|
||||
"frequency": "occasional",
|
||||
"issues": "https://github.com/Sinfonietta/hostfiles/issues",
|
||||
"url": "https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts"
|
||||
}
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{
|
||||
"name": "Sinfonietta's social media blocking hosts file",
|
||||
"description": "A collection of category-specific host files.",
|
||||
"homeurl": "https://github.com/Sinfonietta/hostfiles",
|
||||
"frequency": "occasional",
|
||||
"issues": "https://github.com/Sinfonietta/hostfiles/issues",
|
||||
"url": "https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts"
|
||||
}
|
||||
|
|
|
@ -47,8 +47,7 @@ yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https:
|
|||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. You manage extensions by curating the `extensions/` folder tree.
|
||||
See the `social`, `gambling`, and `porn` extension which are included in this repo, for example.
|
||||
The unified hosts file is extensible. You manage extensions by curating the `extensions/` folder tree. See the `social`, `gambling`, and `porn` extension folders.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -300,7 +300,7 @@ def createInitialFile():
|
|||
#Done in a cross-python way
|
||||
writeData(mergeFile, curFile.read())
|
||||
|
||||
pathToUpdateFile = os.path.join(settings["datapath"], source, settings["sourcedatafilename"])
|
||||
pathToUpdateFile = os.path.join(settings["extensionspath"], source, settings["sourcedatafilename"])
|
||||
if os.path.exists(pathToUpdateFile):
|
||||
updateFile = open(pathToUpdateFile, "r")
|
||||
updateData = json.load(updateFile)
|
||||
|
|
|
@ -38,7 +38,7 @@ def main():
|
|||
keys = data.keys()
|
||||
|
||||
keys.sort(key=cmp_keys)
|
||||
print (keys)
|
||||
|
||||
tocRows = ""
|
||||
for key in keys:
|
||||
data[key]["fmtentries"] = "{:,}".format(data[key]["entries"])
|
||||
|
|
Loading…
Reference in New Issue
Block a user