src/streamlink/utils/__init__.py
def parse_qsd(data, name="query string", exception=PluginError, schema=None, **params):
    """Parses a query string into a dict.

    Unlike parse_qs and parse_qsl, duplicate keys are not preserved in
    favor of a simpler return value.
    """

    value = dict(parse_qsl(data, **params))
    if schema:
        value = schema.validate(value, name=name, exception=exception)

    return value
def parse_qsd(data, name="query string", exception=PluginError, schema=None, **params):
    value = dict(parse_qsl(data, **params))
    if schema:
        value = schema.validate(value, name=name, exception=exception)

    return value
def parse_qsd ( data , name = "query string" , exception = PluginError , schema = None , * * params ) : value = dict ( parse_qsl ( data , * * params ) ) if schema : value = schema . validate ( value , name = name , exception = exception ) return value
Parses a query string into a dict.

    Unlike parse_qs and parse_qsl, duplicate keys are not preserved in
    favor of a simpler return value.
Parses a query string into a dict .