Pull request: added companiesdb script, fix #2793
Merge in DNS/adguard-home from 2793-whotracksme to master
Squashed commit of the following:
commit eff9de98b389ba087eb529c12e3ec916842aa8c3
Merge: bf9bc6a4 49eb62ae
Author: Andrey Meshkov <am@adguard.com>
Date: Wed Dec 15 16:38:53 2021 +0300
Merge branch 'master' into 2793-whotracksme
commit bf9bc6a4f5c1d7e4b6265f1c33bd532ec5b58cc7
Author: Andrey Meshkov <am@adguard.com>
Date: Wed Dec 15 16:04:57 2021 +0300
scripts: fix review comments
commit 5a035cabc1a75a3c750a4a7a36af38ad9f33959b
Author: Andrey Meshkov <am@adguard.com>
Date: Wed Dec 15 15:47:41 2021 +0300
added companiesdb script, fix #2793
This commit is contained in:
@@ -190,16 +190,16 @@ Optional environment:
|
||||
|
||||
|
||||
|
||||
## `whotracksme/`: Whotracks.me Database Converter
|
||||
## `companiesdb/`: Whotracks.me Database Converter
|
||||
|
||||
A simple script that converts the Ghostery/Cliqz trackers database to a json format.
|
||||
A simple script that downloads and updates the companies DB in the `client`
|
||||
code from [the repo][companiesrepo].
|
||||
|
||||
### Usage
|
||||
|
||||
```sh
|
||||
yarn install
|
||||
node index.js
|
||||
cd scripts/companiesdb
|
||||
./download.sh
|
||||
```
|
||||
|
||||
You'll find the output in the `whotracksmedb.json` file. Then, move it to
|
||||
`client/src/helpers/trackers`.
|
||||
[companiesrepo]: https://github.com/AdguardTeam/companiesdb
|
||||
|
||||
Reference in New Issue
Block a user