Skip to navigation
Script to extract all tracker mining url patterns from the ghostery addons database
04.04.15
1. find the file store.json somewhere in your personal settings 2. enter in this is directory and run this python3.4 script there. import os, sys, stat import json class Addblock(): def __init__(self): dump = {} data = [] with open("store.json",'r',encoding='utf-8') as f: for line in f: data.append(json.loads(line)) for i in data[0]['lsos']['lsos']: dump[i['id']] ={'url': i['pattern'],'cid':i['cid'],'aid':i['aid']} csvx = ''; for i in dump: csvx += dump[i]['url'] + "\n" f = open("block.txt", "w") f.write(csvx) if __name__ == "__main__": a = Addblock()
https://www.ghostery.com/en/
Reply
Anonymous
Information Epoch 1752293544
Don't force yourself or others to reimplement functionality.
Home
Notebook
Contact us