The unified diff between revisions [bebc3104..] and [d9d30ab4..] is displayed below. It can also be downloaded as a raw diff.
#
#
# delete "index.py"
#
# patch "ttproxy.py"
# from [e99c55c06d1203a9481119b8a2f3f31f687c605c]
# to [2c6f37716130f3256988178d5aeef81b8a8dec68]
#
============================================================
--- ttproxy.py e99c55c06d1203a9481119b8a2f3f31f687c605c
+++ ttproxy.py 2c6f37716130f3256988178d5aeef81b8a8dec68
@@ -48,6 +48,7 @@ leavere = re.compile('.*TopOfPage.*')
actionre = re.compile('.*FORM METHOD=POST ACTION="(?P<filename>.*)".*')
searchre = re.compile('.*http://www.uwa.edu.au/search.php3')
leavere = re.compile('.*TopOfPage.*')
+imgre = re.compile(r"<img src='([^']*)'")
inhead = 0
donehead = 0
@@ -82,4 +83,5 @@ for l in lines:
print '<form METHOD=POST ACTION="ttproxy.py"'
l = "<input type=hidden name=ttparse_url value=%s>" % m.group("filename")
+ print imgre.sub(r"<img src='http://www.timetable.uwa.edu.au/Curr/\1'", l)
+
- print l