Install the free app "a-Shell" from the App Store.
Open a-Shell and run:
pip install --upgrade yt-dlp
In the Shortcuts app create a shortcut named "SideTube Video". Set it to receive Text input. Add the a-Shell action "Execute Command" with this command: