Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Python script to update hosts file for ad blocking

    Reply
    jaywink | # 1 | 2010-07-23, 19:10 | Report

    Created a small Python script to download the latest hosts file from mvps.org and add the changes (or replace previously added) to /etc/hosts.

    Myself I have the script scheduled for daily updates every night with Alarmed, and also on my home Ubuntu via Cron.

    [edit: dead blog lnk removed]

    More on ad blocking via a hosts file on Maemo: http://wiki.maemo.org/Ad_blocking

    ------------
    Edit: script in github: https://github.com/jaywink/gethosts

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by jaywink; 2014-03-23 at 20:05.
    The Following 4 Users Say Thank You to jaywink For This Useful Post:
    ceevee, Kossuth, marmistrz, peterleinchen

     
    marmistrz | # 2 | 2014-03-18, 16:33 | Report

    The link is dead

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to marmistrz For This Useful Post:
    Kossuth

     
    jaywink | # 3 | 2014-03-23, 20:02 | Report

    Yeah my old blog is dead, dumped it in github here: https://github.com/jaywink/gethosts

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to jaywink For This Useful Post:
    peterleinchen

     
vBulletin® Version 3.8.8
Normal Logout