def METHOD_NAME(kind):
    return [{
        'url': unescapeHTML(item.attrib['url']),
        'width': int_or_none(item.get('width')),
        'height': int_or_none(item.get('height')),
    } for item in config.findall('./qualities/quality/%s' % kind) if item.get('url')]