The problem is, the iPad doesn’t ship with a Terminal app like the Mac does, so while I could do this on my Mac, I struggled to find a way to use this command on my iPad.
There is a command-line program you can run called youtube-dl that will download videos from YouTube (and other sites). I discovered that it’s possible to download these videos using the iCab browser if you change the user agent, but I could never get this to work consistently. There are various apps for the Mac that’ll download YouTube videos, but there’s nothing comparable for the iPad. Greg Godwin, writing at NonProfit Workflows: