How can I avoid recursion in this JavaScript function that uses Promises?

How can I avoid recursion in this JavaScript function that uses Promises?

|
A Carregar...

SSS TikTok Downloader

Vídeo Seguinte