(content, uri=None, custom_tags_parser=None)
Given a string with a m3u8 content, returns a M3U8 object.
    Optionally parses a uri to set a correct base_uri on the M3U8 object.
    Raises ValueError if invalid content
Given a string with a m3u8 content, returns a M3U8 object.
    Optionally parses a uri to set a correct base_uri on the M3U8 object.
    Raises ValueError if invalid content
Given a string with a m3u8 content returns a M3U8 object . Optionally parses a uri to set a correct base_uri on the M3U8 object . Raises ValueError if invalid content
def loads(content, uri=None, custom_tags_parser=None):
    '''
    Given a string with a m3u8 content, returns a M3U8 object.
    Optionally parses a uri to set a correct base_uri on the M3U8 object.
    Raises ValueError if invalid content
    '''

    if uri is None:
        return M3U8(content, custom_tags_parser=custom_tags_parser)
    else:
        base_uri = _parsed_url(uri)
        return M3U8(content, base_uri=base_uri, custom_tags_parser=custom_tags_parser)
def loads ( content , uri = None , custom_tags_parser = None ) : if uri is None : return M3U8 ( content , custom_tags_parser = custom_tags_parser ) else : base_uri = _parsed_url ( uri ) return M3U8 ( content , base_uri = base_uri , custom_tags_parser = custom_tags_parser )