In ADBLK-12 I created a script to turn zone blocks into regexes for Pihole, so it'd probably be prudent to take and adapt that for this - otherwise one may overwrite the other
The latter is processed to turn the list of zones into regexes, and then the two are combined (with duplicates removed). If the result differs from the copy stored on disk (i.e. the config has changed) then pihole is told to recompile it's regex list
Activity
2020-05-02 11:28:09
2020-05-02 11:28:15
Webhook User-Agent
View Commit
2020-05-02 11:34:16
Webhook User-Agent
View Commit
2020-05-02 11:44:15
Webhook User-Agent
View Commit
2020-05-02 11:44:19
2020-05-02 11:44:19
2020-05-02 11:44:22
2020-05-02 12:03:58
It should be run as a cron, so install/setup is
This will check for updates to the regex and zone list every 2 hours.
The script itself pulls 2 files using
- https://www.bentasker.co.uk/adblock/regex_blocks.txt (the focus of this issue)
- https://www.bentasker.co.uk/adblock/blockedzones.txt (the list created in ADBLK-12)
The latter is processed to turn the list of zones into regexes, and then the two are combined (with duplicates removed). If the result differs from the copy stored on disk (i.e. the config has changed) then pihole is told to recompile it's regex list