Sed 's///g' /etc/dnsdumpster/dnsdumpster/API_example.py > /etc/dnsdumpster/dnsdumpster/ADS_youtube-temp.pyĮcho "remove some script lines from script to resolve XLS base64 errors as it is not required"Īwk 'NR!~/^(35|36|37|38)$/' /etc/dnsdumpster/dnsdumpster/ADS_youtube-temp.py > /etc/dnsdumpster/dnsdumpster/ADS_youtube.py Scriptcode: echo "created for public use and use."Įcho "installing python-pip and dnsdumpster."Įcho "" > /etc/dnsdumpster/youtube-domains.txtĮcho "" > /etc/dnsdumpster/youtube-filtered.txtĮcho "" > /etc/dnsdumpster/youtube-ads.txtĮcho "copying dnsdumpster API_example.py script and modify it as ADS_youtube.py."Įcho "replacing API_example.py domain '' with ''." Run /etc/pihole/youtube-adblock-install.sh Nano /etc/pihole/youtube-adblock-install.shĮxit nano with ctrl+x and save the install scriptĬhmod +x /etc/pihole/youtube-adblock-install.sh Replace it with the install command required to install python pip on your distro. You can convert the script to other platforms by simple replace the scriptcode line: Requirements: Pi-hole Version v3.2.1 Web Interface Version v3.2.1 FTL Version. Well i combined some ideas and small improvements found on this topic into a install script
0 Comments
Leave a Reply. |