All Projects → kboghdady → Youtube_ads_4_pi Hole

kboghdady / Youtube_ads_4_pi Hole

YouTube script to add the new Ads list for Pi-hole

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Youtube ads 4 pi Hole

hosts
冷莫(trli)的规则唯一一个提供全球比较全的库Cold Mo (TRLI) rules is the only one to provide a global comparison of the library.
Stars: ✭ 4 (-99.65%)
Mutual labels:  blacklist, pi-hole
Youtubeadsblacklist
A list of YouTube video ad domains. (Discontinued)
Stars: ✭ 136 (-88.18%)
Mutual labels:  blacklist, youtube
hosts
🄯Curated lists of hosts files with various domain blocks.🄯
Stars: ✭ 15 (-98.7%)
Mutual labels:  youtube, blacklist
1hosts
DNS filter-/blocklists | safe. private. clean. browsing!
Stars: ✭ 85 (-92.62%)
Mutual labels:  pi-hole, blacklist
CyberSecurity-Box
Firewall-System based on OpenWRT or Pi-Hole with UnBound, TOR, optional Privoxy, opt. ntopng and opt. Configuration of the AVM FRITZ!Box with Presets for Security and Port-List. Please visit:
Stars: ✭ 20 (-98.26%)
Mutual labels:  blacklist, pi-hole
additional-hosts
🛡 List of categorized undesired hosts
Stars: ✭ 13 (-98.87%)
Mutual labels:  blacklist, pi-hole
Wally3k.github.io
Repo for Firebog hosting
Stars: ✭ 427 (-62.9%)
Mutual labels:  pi-hole, blacklist
Serie Api Rest Node
Código da série de API REST com NodeJS no Youtube
Stars: ✭ 55 (-95.22%)
Mutual labels:  youtube
Live Chat Overlay
Restyle the YouTube "popout chat" window so you can key it over a video to show comments on a livestream
Stars: ✭ 59 (-94.87%)
Mutual labels:  youtube
Skip Ad
A simple lightweight Chrome extension that automatically skips YouTube Ads.
Stars: ✭ 54 (-95.31%)
Mutual labels:  youtube
Automated Pihole
Automated Self-Updating (Public) Pi-hole Stack using unbound as recursive DNS server with Ansible
Stars: ✭ 52 (-95.48%)
Mutual labels:  pi-hole
Piholecloudflared
Raspberry Pi setup with Pi-Hole, CloudflareD, DHCP as the ultimate Ad-blocker
Stars: ✭ 57 (-95.05%)
Mutual labels:  pi-hole
Streamly
Portable, independent, web-based, simple streaming YouTube video queues and playlists for music videos, audiobooks, etc.
Stars: ✭ 60 (-94.79%)
Mutual labels:  youtube
Prettyembed.js
Prettier embeds for your YouTubes - with nice options like high-res preview images, advanced customization of embed options, and optional FitVids support.
Stars: ✭ 1,078 (-6.34%)
Mutual labels:  youtube
Pi Hole Pivpn On Google Compute Engine Free Tier With Full Tunnel And Split Tunnel Openvpn Configs
Run your own privacy-first ad blocking service in the cloud for free on Google Cloud Services.
Stars: ✭ 1,141 (-0.87%)
Mutual labels:  pi-hole
Keyring
Keyring is an authentication framework for WordPress. It comes with definitions for a variety of HTTP Basic, OAuth1 and OAuth2 web services. Use it as a common foundation for working with other web services from within WordPress code.
Stars: ✭ 52 (-95.48%)
Mutual labels:  youtube
Ioc2rpz
ioc2rpz is a place where threat intelligence meets DNS.
Stars: ✭ 67 (-94.18%)
Mutual labels:  blacklist
Spotivy
🎼 Download music videos from Spotify playlists
Stars: ✭ 64 (-94.44%)
Mutual labels:  youtube
Youtube In Background
YiB is an Android app, which extracts audio from YouTube videos and plays them in background.
Stars: ✭ 58 (-94.96%)
Mutual labels:  youtube
Russia It Podcast
Список русскоязычных подкастов на тему информационных технологий
Stars: ✭ 1,095 (-4.87%)
Mutual labels:  youtube

Buy me a coffee via paypal paypal

Buy me Coffee with XLM GDQP2KPQGKIHYJGXNUIYOMHARUARCA7DJT5FO2FFOOKY3B2WSQHG4W37
Buy me Coffee with BitCoin 36fD957SDWHJYYzuH2xmceJ6T2qE9vNiV4
Buy me Coffee with XRP rw2ciyaNshpHe7bCHo4bRWq6pqqynnWKQg
Buy me Coffee with BAT 0xb9f4845dbEd1FB1Dae90D8e203037B5623B66666

Script to add YouTube Ads DNS to Pi-hole black list

You can add this link to your gravity list by going to

http://piholeIPAddress/admin/groups-adlists.php https://raw.githubusercontent.com/kboghdady/youTube_ads_4_pi-hole/master/youtubelist.txt and the list added by the crowed Keep in mind the crowd list it is all DNS gathered by the crowd WITHOUT filtering the block DNS https://raw.githubusercontent.com/kboghdady/youTube_ads_4_pi-hole/master/crowed_list.txt

Also, add script to update the gravity list containing these lines : pihole -g sudo pihole restartdns if you experience youtube loops or blocking to the actual video while using the gravity Please clear the gravity domain list as it sometimes keep the ignore list :

/usr/bin/sqlite3 /etc/pihole/gravity.db "delete from gravity where domain like '%googlevideo.com%' "
pihole -g

How the script works

  • It will get the black.list from my github which is updated daily or every two days
  • It will update both the black.list and blacklist.txt files where the blocking of pihole happens
  • It will remove any dupiclates

it will be more effective if you add it the crontab

Steps: 1- Download the script from github using this command :

git clone https://github.com/kboghdady/youTube_ads_4_pi-hole.git
cd youTube_ads_4_pi-hole

2- Change where the repo directory in youtube.sh

repoDir='/pi/youTube_ads_4_pi-hole'

3- Make the script executable

sudo chmod a+x youtube.sh

4- Create a scheduled task to run the script:

sudo crontab -e 

5-Add this line to make it runs every 1 hour, but you can change it to whatever you like

0 */1 * * * sudo /home/pi/youTube_ads_4_pi-hole/youtube.sh >/dev/null 

Where the script location is /home/pi/youTube_ads_4_pi-hole/youtube.sh more information about crontab https://crontab.guru

if you want to delete all blacklist from your database in case of issues

/usr/bin/sqlite3 /etc/pihole/gravity.db "delete from domainlist where domain like '%googlevideo.com%' "

NOTE : if you are using the default pihole gravity make sure to whitelit s.youtube.com which blocks the videos

this default list has it : https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].