This is the easiest method and works if you have previously "purchased" (downloaded) YouTube on your Apple ID.
You don’t actually need a direct download link to get the official YouTube app on iOS 12.5.7 if you have ever downloaded it in the past. The App Store has a built-in feature that allows you to download "last compatible versions." Open the on your iPhone or iPad. download youtube ios 1257 link