mhogomchungu / media-downloader

Media Downloader is a Qt/C++ front end to yt-dlp, youtube-dl, gallery-dl, lux, you-get, svtplay-dl, aria2c, wget and safari books..
GNU General Public License v2.0
1.6k stars 119 forks source link

Encrypted stream #221

Closed trimechee closed 1 year ago

trimechee commented 1 year ago

Hello, i read this disucussion about donwload enrypted stream, ant it said : "No m3u8, but mpd.

Your stream is encrypted. You will need keys to decrypt.

yt-dlp --allow-u "mpd_url"

https://forum.videohelp.com/threads/407535-Zee5-video-download

Does Media-Donwloader include by default this command " --allow-u "mpd_url" to donwload encrypted streams ?

mhogomchungu commented 1 year ago

It does not

trimechee commented 1 year ago

Can we add this command manually "--allow-u" ?

mhogomchungu commented 1 year ago

I will not be adding it as a default option.

Yes, you can add it:-

  1. As one of the options in the "Enter options" field in batch downloader tab.
  2. As one or only option of a custom preset option.
  3. As one of the options In a custom engine's default option.
trimechee commented 1 year ago

Awesome ! thank you very much for your precious help :)

trimechee commented 1 year ago

In default option of engine, i add "--allow-u" and i click on "set by default" but it does not add the new command ""--allow-u" to the default commands, why please ? I made a mistake ? I tried many times but the defaults commands "--newline --ignore-config --no-playlist -o %(title).200s-%(id)s.%(ext)s" do not change :(

mhogomchungu commented 1 year ago

Are you sure you added it in an engine you are using?

trimechee commented 1 year ago

Why not ? if it allows me to download streams that are difficult to download ? can this cause bugs if I add this command to the default values?

trimechee commented 1 year ago

Oups , sorry I misunderstood, indeed I now use yt dlp aria2c and I forgot to change the default engine....i tried may times and change teh default engine to yt dlp aria2c but default option of yt dlp aria2c remain the same without " " --allow-u " .....

can i add " --allow-u " to "url manager" ? what is the purpose of "url manager" please?

mhogomchungu commented 1 year ago

can i add " --allow-u " to "url manager" ? what is the purpose of "url manager" please?

Yes, you can.

The purpose was to make it easy for users to automatically set download options based on a website the media is hosted.

My use case is below:-

  1. I want to download media from "youtube.com" using "242+250" media format.

  2. I want to download media from "streamable.com" using "mp4-mobile" media format.

The feature automatically sets these options for me and saves me the trouble of constantly switching download options.

trimechee commented 1 year ago

Ouahh this is absolutely awesome ! i didn't know that this options has these very amazing features !! thank you very much for adding them 🥇

trimechee commented 1 year ago

Sorry i i ask again because apparently I didn't quite understand, so if i well understand, --allow-u can't merge with the default --newline --ignore-config --no-playlist -o %(title).200s-%(id)s.%(ext)s beacuase it can cause possble instability and bugs ?

mhogomchungu commented 1 year ago

Add the option to Media Downloader and Media Downloader will faithfully pass it along to yt-dlp, how yt-dlp behaves when its given the option is yt-dlp problem, not Media Downloader..

You can easily see if Media Downloder passed the option to yt-dlp or not by looking at the log window when telling it to download a media.

I have never used this option so i dont know how yt-dlp works with it and i just looked at yt-dlp and i do not see an option named "--allow-u".

trimechee commented 1 year ago

Very interesting, thank you so much for your precious help :)