You can use an easier way for yt-dlp:

https://github.com/deniscerri/ytdlnis

How do I share the files back to Termux from this 'app'?