Skip to content

Instantly share code, notes, and snippets.

View bitdust's full-sized avatar
🎯
Focusing

bitdust bitdust

🎯
Focusing
View GitHub Profile
#!/usr/bin/env python
#coding=utf-8
#
# Generate a list of dnsmasq rules with ipset for gfwlist
#
# Copyright (C) 2014 http://www.shuyz.com
# Ref https://code.google.com/p/autoproxy-gfwlist/wiki/Rules
# this file is copied from http://aenes.com/post/740.html
import urllib2