Rm /etc/dnsdumpster/dnsdumpster/ADS_youtube-temp.pyĮcho "create update script /etc/pihole/youtube-ads.sh."Įcho "youtube-ads.sh is used for maintaining youtube generated list youtube-ads-list.txt in pihole webroot for pihole update access."Įcho "echo off" > /etc/pihole/youtube-ads.shĮcho "rm /etc/dnsdumpster/youtube-domains.txt" > /etc/pihole/youtube-ads.shĮcho "rm /etc/dnsdumpster/youtube-filtered.txt" > /etc/pihole/youtube-ads.shĮcho "rm /etc/dnsdumpster/youtube-ads.txt" > /etc/pihole/youtube-ads.shĮcho "python /etc/dnsdumpster/dnsdumpster/ADS_youtube.py > /etc/dnsdumpster/youtube-domains.txt" > /etc/pihole/youtube-ads.shĮcho "grep ^r /etc/dnsdumpster/youtube-domains.txt > /etc/dnsdumpster/youtube-filtered.txt" > /etc/pihole/youtube-ads.shĮcho "sed 's/\s.*$//' /etc/dnsdumpster/youtube-filtered.txt > /etc/dnsdumpster/youtube-ads.txt" > /etc/pihole/youtube-ads.shĮcho "cat /etc/dnsdumpster/youtube-ads.txt > /var/echo "#greps the log for youtube ads and appends to /var/echo "grep r*. /var/log/pihole.log | awk '++' /var/echo "#updates pihole blacklist/whitelist" > /etc/pihole/youtube-ads.shĮcho "pihole -g" > /etc/pihole/youtube-ads.shĮcho "add youtube-ads.sh maintained list youtube-ads-list.txt from local webroot: to pihole lists."Įcho "save current crontab to mycron.sav, add crontab job, to run youtube-ads.sh updater every 15 minutes."Įcho "*/15 * * * * /etc/pihole/youtube-ads.sh" > mycronĮcho "done, now enjoy youtube ad free, thru your pihole. 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 Although APK downloads are available below to give you the choice, you should be aware that by installing. 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 ''." In this video i'll show you how to FIx AdAway 'Failed to install new host files' Error with Magisk step by step guide.How to Install Magisk. Run /etc/pihole/youtube-adblock-install.sh When I disable youtube adaway and play the video again, it plays as should including ads. and then when I play any video that includes ads and progress bar gets to yellow dot the video stops and I cant play it or skip it. In the end of january google updated youtube app. 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 On all of them untill end of january youtube adaway worked perefctly. 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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |