Implement Youtube-DL
Describe the solution you'd like Being able to download youtube media via Motrix client.
Describe alternatives you've considered Using other tools to download youtube content.
and Implement yt-dlp too
and Implement yt-dlp too
~~and~~ Just implement yt-dlp.
Because youtube-dl is throttled by YouTube (n-sig based throttling) to download video (ytdl-org/youtube-dl#29326), and not been fixed. yt-dlp address the issue (plus many new feature including SponsorBlock)
IMO the best integration would be using --get-url / --get-filename from youtube-dl tools. At least that sounds like a good API boundary between motrix and youtube-dl
I've been trying to implement something like that using the aria2 jsonrpc, but can't get motrix to respect passing the filename using a request body like the below. The filename still comes out as file1.zip
{
"jsonrpc": "2.0",
"id": "1",
"method": "aria2.addUri",
"params": [
[
[
"http://example.com/file1.zip"
],
{
"out": "custom_filename1.zip"
}
]
]
}
seems related to #1682
Thanks Mr @jackmac92 :) 💯
i just made an edit to my post to make reorganizations and add new tools and select the best ones and put them in pole position, i also added rare tools to fix yt-dlp cookies problems!