Skip to content

Commit

Permalink
best medium-ish size
Browse files Browse the repository at this point in the history
  • Loading branch information
galgeek committed Apr 20, 2020
1 parent ea374b3 commit 4999843
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ protected YoutubeDLResults runYoutubeDL(CrawlURI uri) {
* https://github.com/ytdl-org/youtube-dl/blob/master/README.md#format-selection
*/
ProcessBuilder pb = new ProcessBuilder("youtube-dl", "--ignore-config",
"--simulate", "--dump-single-json", "--format=best",
"--simulate", "--dump-single-json", "--format=best[height <=? 576]",
"--playlist-end=" + MAX_VIDEOS_PER_PAGE, uri.toString());
logger.info("running: " + String.join(" ", pb.command()));

Expand Down

0 comments on commit 4999843

Please sign in to comment.