Add More AdGuard Stuff

This commit is contained in:
unknown 2021-12-12 17:51:39 +07:00
parent c828ad26d5
commit 3f2f7cbb25
Signed by: minoplhy
GPG Key ID: 90667A59A9908AEC

View File

@ -1,3 +1,4 @@
#!/bin/bash
MAKE_DIR=$(mktemp -d)
git clone https://github.com/minoplhy/filters-converter /filters-converter
@ -34,6 +35,15 @@ python3 /filters-converter/to-rpz/adguard-host-wildcards_rpz_argv.py $MAKE_DIR/c
wget -O $MAKE_DIR/adguard-exceptions_raw.txt https://github.com/AdguardTeam/AdGuardSDNSFilter/raw/master/Filters/exceptions.txt
python3 /filters-converter/to-rpz/adguard-host_rpz_argv.py $MAKE_DIR/adguard-exceptions_raw.txt $MAKE_DIR/output/Adguard-exceptions_rpz.txt
wget -O $MAKE_DIR/adguard-base_raw.txt https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_2_English/filter.txt
python3 /filters-converter/to-rpz/adguard-host_rpz_argv.py $MAKE_DIR/adguard-base_raw.txt $MAKE_DIR/output/Adguard-Base_rpz.txt
wget -O $MAKE_DIR/adguard-tracking_raw.txt https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_3_Spyware/filter.txt
python3 /filters-converter/to-rpz/adguard-host_rpz_argv.py $MAKE_DIR/adguard-tracking_raw.txt $MAKE_DIR/output/Adguard-Tracking_rpz.txt
wget -O $MAKE_DIR/adguard-mobile_raw.txt https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_11_Mobile/filter.txt
python3 /filters-converter/to-rpz/adguard-host_rpz_argv.py $MAKE_DIR/adguard-mobile_raw.txt $MAKE_DIR/output/Adguard-Mobile_rpz.txt
mkdir $MAKE_DIR/Bromite
cd $MAKE_DIR/Bromite
wget https://github.com/bromite/filters/releases/download/92.0.4515.103/ruleset_converter