const updateHref = (i, el) => {
    const href = $(el).attr('href');
    $(el).attr('href', path.join(folder, generateName(href)));
  };