'Called when the parser won\'t be used anymore, it should clear all the
open files, sockets, memory, etc.
:return: None'

def clear(self):

    self._base_url = None
    self._base_domain = None
    self._root_domain = None
    self._encoding = None
    self._http_response = None
