Noether's theorem needs the lagrangian to be invariant.
However, given a lagrangian $L$, we know that the lagrangians $\alpha L$ (where $\alpha$ is any constant) and $L + \frac{df}{dt}$ (where $f$ is any function) lead to the same equations of motion.
Can we then consider that the lagrangian is invariant under a transformation if we find $\alpha L$ or $L + \frac{df}{dt}$ instead of $L$?