1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 20:35:11 +01:00

Run it with Python, because Python

This commit is contained in:
2018-03-13 19:39:49 +01:00
parent d959bb5f7c
commit 521af766e5

View File

@@ -1,10 +1,11 @@
#!/usr/bin/env python3
from urllib.parse import urlparse from urllib.parse import urlparse
domains = {} domains = {}
privacy_domains = {} privacy_domains = {}
#with open('consent_20180227_1055.log', encoding='latin1') as pf: #with open('consent_20180227_1055.log', encoding='latin1') as pf:
with open('20180313_1532.log') as pf: with open('logfile.log') as pf:
logdata = pf.readlines() logdata = pf.readlines()
for line in logdata: for line in logdata: