Pull request: upd-companiesdb
Merge in DNS/adguard-home from upd-companiesdb to master Squashed commit of the following: commit c38ccd89a46193b24393c00b4a83ed439f6d7469 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Wed Oct 19 12:00:58 2022 +0300 client: upd trackers
This commit is contained in:
@@ -195,14 +195,13 @@ Optional environment:
|
||||
|
||||
## `companiesdb/`: Whotracks.me Database Converter
|
||||
|
||||
A simple script that downloads and updates the companies DB in the `client`
|
||||
A simple script that downloads and updates the companies DB in the `client`
|
||||
code from [the repo][companiesrepo].
|
||||
|
||||
### Usage
|
||||
|
||||
```sh
|
||||
cd scripts/companiesdb
|
||||
./download.sh
|
||||
( cd scripts/companiesdb && sh ./download.sh )
|
||||
```
|
||||
|
||||
[companiesrepo]: https://github.com/AdguardTeam/companiesdb
|
||||
|
||||
@@ -10,5 +10,5 @@ adguard='https://raw.githubusercontent.com/AdguardTeam/companiesdb/main/dist/adg
|
||||
base_path='../../client/src/helpers/trackers'
|
||||
readonly whotracksme adguard base_path
|
||||
|
||||
curl "$whotracksme" --output "${base_path}/whotracksme.json"
|
||||
curl "$adguard" --output "${base_path}/adguard.json"
|
||||
curl -o "${base_path}/whotracksme.json" -v "$whotracksme"
|
||||
curl -o "${base_path}/adguard.json" -v "$adguard"
|
||||
|
||||
Reference in New Issue
Block a user