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:
Ainar Garipov
2022-10-19 12:13:22 +03:00
parent 8dba4ecd01
commit e0080ffa3a
4 changed files with 6508 additions and 3221 deletions

View File

@@ -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

View File

@@ -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"