import random


def _loader(uris_data: list, target: int, original: int) -> list:
    """ Given a target load size, sample from the URIs list to generate the load required"""
    if target > original:
        load = _loader(uris_data, target - original, original)
        target = original
    else:
        load = []
    load += random.sample(uris_data, target)
    return load