foae / pihole-youtube-block Goto Github PK
View Code? Open in Web Editor NEWScan pihole logs and block YouTube ads domains
License: MIT License
Scan pihole logs and block YouTube ads domains
License: MIT License
When pihole is running in the container script will not add domains to the block.list because of "pihole -b "+s
had to change it manually todocker exec "name" pihole -b
Can you update this to pass flag -y to auto-accept "Would you like to stick those (28) collected domains into your pihole? (y/n)" so this can run as a cron job?
When I run the program the program never writes the domains to the adlist file.
Hey, running PiHole in an Ubuntu VM. Took a snapshot of the VM, installed golang-go and first tried running the primary command "go run main.go" and got this error:
# command-line-arguments
./main.go:147: undefined: strings.Builder
then went into bin and attempted to run "./ytblock" and got this error:
-bash: ./ytblock: cannot execute binary file: Exec format error
Obviously got the same error when running ./ytblock-rpi since the VM is not running an ARM architecture.....was the ytblock binary compiled for ARM anyway?
Also, I'm using: go version go1.6.2 linux/amd64
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.