# HG changeset patch # User Florent Aide <florent.aide@gmail.com> # Date 1411638913 -7200 # Thu Sep 25 11:55:13 2014 +0200 # Node ID 040a5ad0a9e7c1db5f9931c286bd061f00683f97 # Parent 26e1a7b84f9e636c7c0279a0c008c7318b135b5a remove images src tracking diff --git a/replace.py b/replace.py --- a/replace.py +++ b/replace.py @@ -70,7 +70,8 @@ return 'img src="%s/%s"' % (tracker_base, uid) res = html_href_re.sub(repl, html) - return html_imgsrc_re.sub(repl2, res), tracks + #return html_imgsrc_re.sub(repl2, res), tracks + return res, tracks if __name__ == '__main__': url = "http://some.org/a_3/super-script.php?uid=3&someval=4"