kboghdady / youTube_ads_4_pi-hole

YouTube script to add the new Ads list for Pi-hole
2.45k stars 266 forks source link

does not work with pihole >= 5.0 #48

Closed hejfelix closed 4 years ago

hejfelix commented 4 years ago

pihole moved to a database store meaning the domains should be inserted to that database instead of writing them to a file.

mortensassi commented 4 years ago

@hejfelix do you have a workaround?

hejfelix commented 4 years ago

No. It's not that simple. You need to use credentials and a db client so it's vastly different. On the flip side, you need less magical bash wizardry xD

mortensassi commented 4 years ago

oh alright thank you for your reply nonetheless! i ended up setting up a cronjob to run a script i found in a post on reddit

kboghdady commented 4 years ago

I just fixed the issue with pihole V5. it is now working with it