Added metadata to Sinfonietta’s hosts source files.

This commit is contained in:
Steven Black committed 2016-12-11 13:44:51 -05:00
1 parent 0877758116
commit 7119b725e7
14 files changed
+38 -19

No files matched your search

+4 -2
View File
@@ -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
+3 -2
View 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
+3 -2
View 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
+2 -2
View 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
+3 -2
View 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
+2 -2
View 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
+2 -2
View 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
+5
View 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"
}
+5
View File
@@ -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"
}
+5
View File
@@ -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"
}
+1 -2
View File
@@ -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
+1 -1
View File
@@ -1 +1 @@
{"gambling-porn": {"sourcesdata": [{"homeurl": "https://adaway.org/", "issues": "https://github.com/AdAway/AdAway/issues", "url": "https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt", "description": "AdAway is an open source ad blocker for Android using the hosts file.", "name": "AdAway", "frequency": "occasional"}, {"homeurl": "https://github.com/FadeMind/hosts.extras", "issues": "https://github.com/FadeMind/hosts.extras/issues", "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts", "description": "2o7Net tracking sites based on http://www.hostsfile.org/hosts.html content.", "name": "add.2o7Net", "frequency": "occasional"}, {"homeurl": "https://github.com/FadeMind/hosts.extras", "issues": "https://github.com/FadeMind/hosts.extras/issues", "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts", "description": "Dead sites based on http://www.hostsfile.org/hosts.html content.", "name": "add.Dead", "frequency": "occasional"}, {"homeurl": "https://github.com/FadeMind/hosts.extras", "issues": "https://github.com/FadeMind/hosts.extras/issues", "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts", "description": "Risk content sites based on http://www.hostsfile.org/hosts.html content.", "name": "add.Risk", "frequency": "occasional"}, {"homeurl": "https://github.com/FadeMind/hosts.extras", "issues": "https://github.com/FadeMind/hosts.extras/issues", "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts", "description": "Spam sites based on http://www.hostsfile.org/hosts.html content.", "name": "add.Spam", "frequency": "occasional"}, {"homeurl": "https://github.com/azet12/KADhosts", "issues": "https://github.com/azet12/KADhosts/issues", "url": "https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt", "description": "Fraud/adware/scam websites.", "name": "KADhosts", "frequency": "frequently"}, {"homeurl": "http://www.malwaredomainlist.com/", "issues": "http://www.malwaredomainlist.com/contact.php", "url": "https://www.malwaredomainlist.com/hostslist/hosts.txt", "description": "Malware Domain List is a non-commercial community project.", "name": "Malware Domain List", "frequency": "weekly"}, {"homeurl": "http://winhelp2002.mvps.org/", "issues": "mailto:winhelp2002@gmail.com", "url": "http://winhelp2002.mvps.org/hosts.txt", "description": "The purpose of this site is to provide the user with a high quality custom HOSTS file.", "name": "MVPS hosts file", "frequency": "monthly"}, {"homeurl": "http://someonewhocares.org/hosts/", "issues": "hosts@someonewhocares.org", "url": "http://someonewhocares.org/hosts/zero/hosts", "description": "How to make the internet not suck (as much).", "name": "Dan Pollock \u2013 someonewhocares.org", "frequency": "frequently"}, {"homeurl": "https://github.com/FadeMind/hosts.extras", "issues": "https://github.com/FadeMind/hosts.extras/issues", "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/SpotifyAds/hosts", "description": "Spotify ads sources sites based on https://github.com/Xeroday/Spotify-Ad-Blocker content.", "name": "SpotifyAds", "frequency": "occasional"}, {"homeurl": "https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts", "issues": "https://github.com/StevenBlack/hosts/issues", "url": "https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts", "description": "Additional sketch domains as I come across them.", "name": "Steven Black's ad-hoc list", "frequency": "occasionally"}, {"homeurl": "https://github.com/FadeMind/hosts.extras", "issues": "https://github.com/FadeMind/hosts.extras/issues", "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/Telemetry/hosts", "description": "Windows users tracking sites based on https://github.com/Nummer/Destroy-Windows-10-Spying content.", "name": "Telemetry", "frequency": "occasional"}, {"homeurl": "https://github.com/tyzbit/hosts/blob/master/data/tyzbit/hosts", "issues": "", "url": "https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts", "description": "Microsoft tracking domains. A fork of this repo providing additional data.", "name": "tyzbit", "frequency": "rarely"}, {"homeurl": "https://github.com/FadeMind/hosts.extras", "issues": "https://github.com/FadeMind/hosts.extras/issues", "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts", "description": "Windows installers ads sources sites based on https://unchecky.com/ content.", "name": "UncheckyAds", "frequency": "occasional"}, {"homeurl": "https://pgl.yoyo.org/adservers/", "issues": "mailto:pgl@yoyo.org", "url": "https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0", "description": "Blocking with ad server and tracking server hostnames.", "name": "yoyo.org", "frequency": "frequently"}], "location": "alternates/gambling-porn/", "entries": 380Line truncated
{"gambling": {"location": "alternates/gambling/", "sourcesdata": [{"frequency": "occasional", "name": "AdAway", "homeurl": "https://adaway.org/", "description": "AdAway is an open source ad blocker for Android using the hosts file.", "issues": "https://github.com/AdAway/AdAway/issues", "url": "https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt"}, {"frequency": "occasional", "name": "add.2o7Net", "homeurl": "https://github.com/FadeMind/hosts.extras", "description": "2o7Net tracking sites based on http://www.hostsfile.org/hosts.html content.", "issues": "https://github.com/FadeMind/hosts.extras/issues", "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts"}, {"frequency": "occasional", "name": "add.Dead", "homeurl": "https://github.com/FadeMind/hosts.extras", "description": "Dead sites based on http://www.hostsfile.org/hosts.html content.", "issues": "https://github.com/FadeMind/hosts.extras/issues", "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts"}, {"frequency": "occasional", "name": "add.Risk", "homeurl": "https://github.com/FadeMind/hosts.extras", "description": "Risk content sites based on http://www.hostsfile.org/hosts.html content.", "issues": "https://github.com/FadeMind/hosts.extras/issues", "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts"}, {"frequency": "occasional", "name": "add.Spam", "homeurl": "https://github.com/FadeMind/hosts.extras", "description": "Spam sites based on http://www.hostsfile.org/hosts.html content.", "issues": "https://github.com/FadeMind/hosts.extras/issues", "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts"}, {"frequency": "frequently", "name": "KADhosts", "homeurl": "https://github.com/azet12/KADhosts", "description": "Fraud/adware/scam websites.", "issues": "https://github.com/azet12/KADhosts/issues", "url": "https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt"}, {"frequency": "weekly", "name": "Malware Domain List", "homeurl": "http://www.malwaredomainlist.com/", "description": "Malware Domain List is a non-commercial community project.", "issues": "http://www.malwaredomainlist.com/contact.php", "url": "https://www.malwaredomainlist.com/hostslist/hosts.txt"}, {"frequency": "monthly", "name": "MVPS hosts file", "homeurl": "http://winhelp2002.mvps.org/", "description": "The purpose of this site is to provide the user with a high quality custom HOSTS file.", "issues": "mailto:winhelp2002@gmail.com", "url": "http://winhelp2002.mvps.org/hosts.txt"}, {"frequency": "frequently", "name": "Dan Pollock \u2013 someonewhocares.org", "homeurl": "http://someonewhocares.org/hosts/", "description": "How to make the internet not suck (as much).", "issues": "hosts@someonewhocares.org", "url": "http://someonewhocares.org/hosts/zero/hosts"}, {"frequency": "occasional", "name": "SpotifyAds", "homeurl": "https://github.com/FadeMind/hosts.extras", "description": "Spotify ads sources sites based on https://github.com/Xeroday/Spotify-Ad-Blocker content.", "issues": "https://github.com/FadeMind/hosts.extras/issues", "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/SpotifyAds/hosts"}, {"frequency": "occasionally", "name": "Steven Black's ad-hoc list", "homeurl": "https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts", "description": "Additional sketch domains as I come across them.", "issues": "https://github.com/StevenBlack/hosts/issues", "url": "https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts"}, {"frequency": "occasional", "name": "Telemetry", "homeurl": "https://github.com/FadeMind/hosts.extras", "description": "Windows users tracking sites based on https://github.com/Nummer/Destroy-Windows-10-Spying content.", "issues": "https://github.com/FadeMind/hosts.extras/issues", "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/Telemetry/hosts"}, {"frequency": "rarely", "name": "tyzbit", "homeurl": "https://github.com/tyzbit/hosts/blob/master/data/tyzbit/hosts", "description": "Microsoft tracking domains. A fork of this repo providing additional data.", "issues": "", "url": "https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts"}, {"frequency": "occasional", "name": "UncheckyAds", "homeurl": "https://github.com/FadeMind/hosts.extras", "description": "Windows installers ads sources sites based on https://unchecky.com/ content.", "issues": "https://github.com/FadeMind/hosts.extras/issues", "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts"}, {"frequency": "frequently", "name": "yoyo.org", "homeurl": "https://pgl.yoyo.org/adservers/", "description": "Blocking with ad server and tracking server hostnames.", "issues": "mailto:pgl@yoyo.org", "url": "https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0"}, {"frequency": "occasionalLine truncated
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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"])