diff --git a/filters-build.sh b/filters-build.sh index 8d9dbf4..1d429dc 100644 --- a/filters-build.sh +++ b/filters-build.sh @@ -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