Removed too restrictive source

Was blocking ssl.ovh.net and akaimi.net
This commit is contained in:
Geoffrey Frogeye 2019-12-03 18:43:23 +01:00
parent fe5f0c6c05
commit 8c744d621e
Signed by: geoffrey
GPG key ID: D8A7ECA00A8CD3DD
2 changed files with 7 additions and 3 deletions

View file

@ -17,7 +17,7 @@ dl https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-blocklist.tx
dl https://raw.githubusercontent.com/StevenBlack/hosts/master/data/add.2o7Net/hosts rules_hosts/add2o7.cache.txt dl https://raw.githubusercontent.com/StevenBlack/hosts/master/data/add.2o7Net/hosts rules_hosts/add2o7.cache.txt
dl https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/spy.txt rules_hosts/spy.cache.txt dl https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/spy.txt rules_hosts/spy.cache.txt
dl https://raw.githubusercontent.com/Kees1958/WS3_annual_most_used_survey_blocklist/master/w3tech_hostfile.txt rules/w3tech.cache.list dl https://raw.githubusercontent.com/Kees1958/WS3_annual_most_used_survey_blocklist/master/w3tech_hostfile.txt rules/w3tech.cache.list
dl https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt rules_hosts/ads-and-tracking-extended.cache.txt # dl https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt rules_hosts/ads-and-tracking-extended.cache.txt
# dl https://raw.githubusercontent.com/Perflyst/PiHoleBlocklist/master/android-tracking.txt rules_hosts/android-tracking.cache.txt # dl https://raw.githubusercontent.com/Perflyst/PiHoleBlocklist/master/android-tracking.txt rules_hosts/android-tracking.cache.txt
# dl https://raw.githubusercontent.com/Perflyst/PiHoleBlocklist/master/SmartTV.txt rules_hosts/smart-tv.cache.txt # dl https://raw.githubusercontent.com/Perflyst/PiHoleBlocklist/master/SmartTV.txt rules_hosts/smart-tv.cache.txt
# dl https://raw.githubusercontent.com/Perflyst/PiHoleBlocklist/master/AmazonFireTV.txt rules_hosts/amazon-fire-tv.cache.txt # dl https://raw.githubusercontent.com/Perflyst/PiHoleBlocklist/master/AmazonFireTV.txt rules_hosts/amazon-fire-tv.cache.txt

View file

@ -92,11 +92,15 @@ if __name__ == '__main__':
for rule in args.rules: for rule in args.rules:
register_rule(rule.strip()) register_rule(rule.strip())
# Reading domains to filter # Approximating line count
if args.input.seekable(): if args.input.seekable():
progress.max_value = len(args.input.readlines()) lines = 0
for line in args.input:
lines += 1
progress.max_value = lines
args.input.seek(0) args.input.seek(0)
# Reading domains to filter
reader = csv.reader(args.input) reader = csv.reader(args.input)
progress.start() progress.start()
for chain in reader: for chain in reader: