def METHOD_NAME(self, url: str):
    """ Get the bast path of the provided url.
    """
    # break url into parts.
    split = urlsplit(url)
    # construct the base path.
    base_path = os.path.join(os.path.dirname(__file__), split.netloc)
    # check if it exists.
    if not os.path.exists(base_path):
        if config.get('AUTO_MAKE_FIXTURES'):
            # Make the fixture path if it doesn't exist - very useful for development.
            logger.warning('creating fixture base path %s', base_path)
            Path(base_path).mkdir()
        raise FixtureException('unhandeled url: {}, fixture path ({}) does not exist'.format(
            url, base_path))
    return base_path