Skip to content

Commit

Permalink
Merge pull request #327 from internetarchive/yt-dl-format-medium-ish
Browse files Browse the repository at this point in the history
best medium-ish size
  • Loading branch information
BitBaron authored Apr 20, 2020
2 parents ea374b3 + 4999843 commit 0f8fbaf
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 0f8fbaf

Please sign in to comment.