code: def getPrevUrl(self, url, data):
          
          mo = compile(r"index(\d+)\.html").search(url)
          num = int(mo.group(1)) - 1
          prefix = url.rsplit('/', 1)[0]
          return "%s/index%d.html" % (prefix, num)
docs: Decrease index.html number.