src/streamlink/plugins/hls.py
def priority(cls, url):
        """
        Returns LOW priority if the URL is not prefixed with hls:// but ends with
        .m3u8 and return NORMAL priority if the URL is prefixed.
        :param url: the URL to find the plugin priority for
        :return: plugin priority for the given URL
        """
        m = cls._url_re.match(url)
        if m:
            prefix, url = cls._url_re.match(url).groups()
            url_path = urlparse(url).path
            if prefix is None and url_path.endswith(".m3u8"):
                return LOW_PRIORITY
            elif prefix is not None:
                return NORMAL_PRIORITY
        return NO_PRIORITY
def priority(cls, url):
        """
        Returns LOW priority if the URL is not prefixed with hls:// but ends with
        .m3u8 and return NORMAL priority if the URL is prefixed.
        :param url: the URL to find the plugin priority for
        :return: plugin priority for the given URL
        """
        m = cls._url_re.match(url)
        if m:
            prefix, url = cls._url_re.match(url).groups()
            url_path = urlparse(url).path
            if prefix is None and url_path.endswith(".m3u8"):
                return LOW_PRIORITY
            elif prefix is not None:
                return NORMAL_PRIORITY
        return NO_PRIORITY
def priority ( cls , url ) : m = cls . _url_re . match ( url ) if m : prefix , url = cls . _url_re . match ( url ) . groups ( ) url_path = urlparse ( url ) . path if prefix is None and url_path . endswith ( ".m3u8" ) : return LOW_PRIORITY elif prefix is not None : return NORMAL_PRIORITY return NO_PRIORITY
Returns LOW priority if the URL is not prefixed with hls:// but ends with
        .m3u8 and return NORMAL priority if the URL is prefixed.
        :param url: the URL to find the plugin priority for
        :return: plugin priority for the given URL
Returns LOW priority if the URL is not prefixed with hls : // but ends with . m3u8 and return NORMAL priority if the URL is prefixed . : param url : the URL to find the plugin priority for : return : plugin priority for the given URL