Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Use JSON-RPC interface to download the video through aria2 #5822
Comments
|
If the flag |
|
Maybe I do not use aria2 the right way. I have a |
|
Ok, so we should conect to the server and execute the JSON-RPC commands? |
|
Yes, I think it should be not hard to implement. Here is an example from document:
The main problem is how to assemble this function into current framework. Maybe add another external downloader or read configuration file. |
|
Such features is quite useful when using tools like Aria2GUI. |
|
Very useful feature. |
|
Is there any update on the feature? Thanks |
|
aria2p is a client that sends the RPC commands to an aria2 server. We could try to symlink aria2 to aria2p in order to fool youtube-dl into using aria2p instead. Where is the aria2 executable used by youtube-dl located? |
|
@frogger72 maybe you could add a new external downloader using aria2p instead of aria2c? https://github.com/ytdl-org/youtube-dl/blob/master/youtube_dl/downloader/external.py#L181 |
Currently, download through aria2 is implemented in external downloader. I do not like the interface in the terminal, and aria2 has a pretty good JSON-RPC interface, which can be managed from web interface. I would like to be able to see the download list and speed through web browser instead of terminal window, since they are easier to read and looks prettier.