code: def _before_initialize(self, location, **kwargs):
          
          url = kwargs.get('url', '')
          if url.lower() == 'localhost':
              self.url = 'http://localhost/nominatim/search'
          elif url:
              self.url = url
docs: Check if specific URL has not been provided, otherwise, use cls._URL