mozilla / addon-recommendation-shield-study

Stand-alone verison of Add-on Recommendation for Shield Study
Mozilla Public License 2.0
3 stars 7 forks source link

DERIVE a simpler csv-ish version of the recommendations list for use by legal / privacy #70

Closed gregglind closed 8 years ago

gregglind commented 8 years ago

As part of the legal bug, please make a 'csv-ish' sort of list that has the existing sites and recommendations for easy linking. A github'd file is fine.

gregglind commented 8 years ago

After looking at the actual recommendations list, maybe the json is actually enough here. I will link to it from the privacy doc.

gregglind commented 8 years ago

Something like this is probably sufficient if we care:

$ node -e 'require("./data/recommendation/localData.json").forEach(function (x) {console.log(x.domain)})' > sites.txt
mythmon commented 8 years ago

As an aside, a really good tool for doing this sort of json manipulation is jq. With it you could do the same as the node invocation like this:

$ cat data/recommendation/localData.json | jq -r '.[].domain' > sites.txt