aria2
This commit is contained in:
parent
9b2075acc3
commit
e62cce11f2
2 changed files with 4 additions and 1 deletions
|
@ -16,7 +16,8 @@ RUN pacman -Sy --noconfirm archlinux-keyring && \
|
|||
pacman -S --noconfirm \
|
||||
ca-certificates \
|
||||
ffmpeg \
|
||||
yt-dlp
|
||||
yt-dlp \
|
||||
aria2
|
||||
|
||||
COPY --from=builder /app/target/release/hoard /hoard
|
||||
|
||||
|
|
|
@ -125,6 +125,8 @@ impl YouTubeModule {
|
|||
ensure_dir_exists(cwd);
|
||||
let output = Command::new("yt-dlp")
|
||||
.current_dir(cwd)
|
||||
.arg("--downloader")
|
||||
.arg("aria2c")
|
||||
.arg("--write-thumbnail")
|
||||
.arg("-o")
|
||||
.arg(opt.output_format.as_deref().unwrap_or("%(title)s.%(ext)s"))
|
||||
|
|
Loading…
Reference in a new issue