oleksis / youtube-dl-gui

A cross platform front-end GUI of the popular youtube-dl written in wxPython.
https://oleksis.github.io/youtube-dl-gui/
The Unlicense
1.69k stars 109 forks source link

Integrated aria2 support #80

Open SONGjiemo opened 2 years ago

SONGjiemo commented 2 years ago

I learned about the aria2 multi-threaded download tool, and I don't know if it can integrate multi-threading, because I gave feedback last time. Also understood the problem.

aria2 multithreading tool address: https://aria2.github.io/ Looking forward to your feedback.

oleksis commented 2 years ago

You can use yt-dlp like CLI Backend and Setting Extra options for use aria2c like external Downloader

--downloader [PROTO:]NAME

--downloader-args NAME:ARGS
SONGjiemo commented 2 years ago

You and I are not a programmer and not very familiar with code. I put the aria2 file in the same directory as the same tool, can you write a configuration file for me to direct the code to where? Thank you very much

oleksis commented 2 years ago

The configuration file settings.json is located in the directory:

You can add the aria2 executable in the config directory

SONGjiemo commented 2 years ago

Hello! I'm not very good at programming. Hope you can understand my difficulty. My current file is like this, tools and aria2 are placed in one, and I also found the configuration file. image My current question: Don't know how to go down. That is how I let aria2 to perform the download, and the number of threads can be specified

Hope to write an example

oleksis commented 2 years ago

@SONGjiemo

In the settings Options -> Extra use --external-downloader and --external-downloader-args . With --external-downloader if aria2c is not in the PATH, pass the absolute path to ariac2

image

More info...