Actually this project is not 'yet another'. I tried to improve what other projects missed. Also added an auto updater.
Supports the new Pi-hole 5 and above.
cd ~
git clone --depth=1 https://github.com/JavanXD/ya-pihole-list.git ya-pihole-list
cd ya-pihole-list
sudo chmod a+x adlists-updater.sh
sudo sh adlists-updater.sh
- Fork this project.
- Add your own blocklist to the
adlists.list.updater
file. - Change the
adListSource
variable in theadlists-updater.sh
file to your custom blocklist collection.
Add the argument 1
to your sudo sh adlists-updater.sh 1
call.
Unfortunately the Pi-hole Gravity script does not automatically update the adlists. Therefore this Updater was developed to do this job. However, it is very important to always use up-to-date blocklists to block the latest phishing sites. In addition, this project takes care to use only blocklists that are updated regularly.
-
Create a scheduled task to run the script:
sudo crontab -e
-
Add this line to make it runs every 12 hour, but you can change it to whatever you like:
0 */12 * * * sudo /home/pi/ya-pihole-list/adlists-updater.sh 1 >/dev/null
- https://filterlists.com/ - A great search engine to find suitable blocklists.
- https://firebog.net/ - A collection of good blocklists.
Each converted / modified list file is licensed under the same license as the original list.
This project is in no way affiliated with the core Pi-Hole project or organization. This project was created as a contribution to the community. Use at your own risk.