Skip to content

Commit

Permalink
set default format mp4 in DownloadingExampleActivity
Browse files Browse the repository at this point in the history
  • Loading branch information
xibr committed May 11, 2022
1 parent 83c3082 commit 6346beb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ private void startDownload() {
if (useConfigFile.isChecked() && config.exists()) {
request.addOption("--config-location", config.getAbsolutePath());
} else {
request.addOption("--no-mtime");
request.addOption("-f", "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best");
request.addOption("-o", youtubeDLDir.getAbsolutePath() + "/%(title)s.%(ext)s");
}

Expand Down

0 comments on commit 6346beb

Please sign in to comment.