hulu ad config file and fewer domains

troubleshooting
This commit is contained in:
jacobsalmela 2014-11-14 17:03:06 -06:00
parent 60f0eb1f5e
commit 3d665ff155
3 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1,2 @@
address=/ads.hulu.com/192.168.1.101
address=/ads-v-darwin.hulu.com/192.168.1.101

View File

@ -27,6 +27,6 @@ include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
include_shell "/usr/share/lighttpd/create-mime.assign.pl"
include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
$HTTP["host"] =~ "a.dlqm.net|ads-a-darwin.hulu.com|ads-bid.l.doubleclick.net|ads-v-darwin.hulu.com|ads-v-darwin.hulu.com.c.footprint.net|amch.questionmarket.com|assets.huluim.com|bs.serving-sys.com|cdn.innovid.com|core.insightexpressai.com|dart.l.doubleclick.net|data.agkn.com|ds.serving-sys.com|dts.innovid.com|googleads4.g.doubleclick.net|hulu-darwin.fms.c.footprint.net|hulu-pubnet.telemetryaudit.com|p.hulu.com|p.hulu.com|pagead.l.doubleclick.net|pagead.l.doubleclick.net|s.innovid.com|sb.scorecardresearch.com|secure-us.imrworldwide.com|stats.l.doubleclick.net|t.hulu.com|t2.hulu.com|tapestry.tapad.com|telemetry.huluad.com|ts.vindicosuite.com|view.atdmt.com.nsatc.net|vindicoasset.edgesuite.net" {
$HTTP["host"] =~ "ads.hulu.com|ads-v-darwin.hulu.com|" {
url.redirect = ( "^/(.*)" => "http://192.168.1.101:8200/MediaItems/19.mov")
}

View File

@ -1,5 +1,12 @@
#!/bin/bash
# Block Hulu Plus ads using a Raspberry Pi
# Install with this command (from the Pi):
#
# curl -s https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/block%20hulu%20ads/setup.sh | bash
#
# Or run the commands below in order
# Update the Pi
sudo apt-get update
#sudo apt-get -y upgrade