'Initialise an instance with the Unicode page contents and the URL they
came from.'

def __init__(self, data, url):

    self.data = data
    self.base_url = self.url = url
    m = self._base.search(self.data)
    if m:
        self.base_url = m.group(1)
