EFForg / badger-sett

Automated training for Privacy Badger. Badger Sett automates browsers to visit websites to produce fresh Privacy Badger tracker data.
https://www.eff.org/badger-pretraining
MIT License
119 stars 13 forks source link

Most action map entries are lost during restarts #27

Closed ghostwords closed 5 years ago

ghostwords commented 6 years ago

Probably because load_user_data calls merge on action_map (which no longer copies action_map entries wholesale) but doesn't call merge on snitch_map (which then doesn't recreate action_map entries): https://github.com/EFForg/badger-sett/blob/da047d28333065eaeb6acf65ef81bb8674c1d2b1/crawler.py#L192-L200

We should maybe call mergeUserData instead.