Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrated aria2 support #80

Open
SONGjiemo opened this issue Feb 8, 2022 · 5 comments
Open

Integrated aria2 support #80

SONGjiemo opened this issue Feb 8, 2022 · 5 comments
Labels
documentation Improvements or additions to documentation

Comments

@SONGjiemo
Copy link

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
Copy link
Owner

oleksis commented Feb 8, 2022

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

@oleksis oleksis added the documentation Improvements or additions to documentation label Feb 8, 2022
@SONGjiemo
Copy link
Author

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

@SONGjiemo SONGjiemo reopened this Feb 9, 2022
@oleksis
Copy link
Owner

oleksis commented Feb 9, 2022

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

  • Windows: %APPDATA%/yt-dlg
  • GNU/Linux:$HOME/.config/yt-dlg/

You can add the aria2 executable in the config directory

@SONGjiemo
Copy link
Author

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
Copy link
Owner

oleksis commented Feb 9, 2022

@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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants