static File installYouTubeDL() { File file = prepareProgramFile(#1006747, isWindows() ? "youtube-dl.exe" : "youtube-dl"); if (file.exists()) ret file; print("Installing youtube-dl"); S url = isWindows() ? "https://yt-dl.org/latest/youtube-dl.exe" : "https://yt-dl.org/downloads/latest/youtube-dl"; saveBinaryFile(file, loadBinaryPage(url)); if (!isWindows()) makeExecutable(file); ret file; }