Skip to content

Commit

Permalink
Merge pull request #582 from galgeek/fix-yt-dlp-typo-too
Browse files Browse the repository at this point in the history
  • Loading branch information
galgeek authored Mar 20, 2024
2 parents 8549031 + 3996195 commit 4552509
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -439,10 +439,10 @@ protected YoutubeDLResults runYoutubeDL(CrawlURI uri) {
* updated for yt-dlp v.2023.07.06 and higher
* Download the best video with best vcodec no better than h264 and
* the best audio with best acodec no better than aac and
* with neither height nor width larger than 576.
* with the smallest dimension no larger than 720.
*/
ProcessBuilder pb = new ProcessBuilder("yt-dlp", "--ignore-config",
"--simulate", "--dump-single-json", "-S res:576,hcodec:h264,acodec:aac",
"--simulate", "--dump-single-json", "-S vcodec:h264,res:720,acodec:aac",
"--no-cache-dir", "--no-playlist",
"--playlist-end=" + MAX_VIDEOS_PER_PAGE, uri.toString());
logger.info("running: " + String.join(" ", pb.command()));
Expand Down

0 comments on commit 4552509

Please sign in to comment.