def METHOD_NAME(container, item_url, height, id_key='format_id', item_id=None):
    item_id = item_id or '%dp' % height
    if item_id not in item_url:
        return
    width = int(round(aspect_ratio * height))
    container.append({
        'url': item_url,
        id_key: item_id,
        'width': width,
        'height': height
    })