Motrix icon indicating copy to clipboard operation
Motrix copied to clipboard

Implement Youtube-DL

Open yonderbread opened this issue 4 years ago • 4 comments

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.

yonderbread avatar Feb 15 '21 06:02 yonderbread

and Implement yt-dlp too

candrapersada avatar Mar 04 '22 04:03 candrapersada

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)

barraIhsan avatar Sep 26 '22 14:09 barraIhsan

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

jackmac92 avatar Nov 09 '24 02:11 jackmac92

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!

trimechee avatar Nov 21 '24 18:11 trimechee