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.34k stars 102 forks source link

Doesn't download m3u8 links from skool or luna.loom.com #357

Closed wmortume closed 6 months ago

wmortume commented 6 months ago

When I try to download a video from the skool website through m3u8 links like this below I get a 403 forbidden error. I'm suspecting the luna.loom.com domain blocks links from being downloaded and the video can only be accessed with authentication hence why I'm using m3u8. Is there a way I can circumvent this issue (extensions, cookies, etc.)?

https://luna.loom.com/id/fb582496175e4dbfbf1ffee412b7d74c/rev/6c47c9e95bdf8af0f7f6e4e04b52626b0f6f71dd969665b26fcd09d068c804fd9/resource/hls/mediaplaylist-video-bitrate3200.m3u8

image

mhogomchungu commented 6 months ago

What web browser are you using and you have logged in to the skool website?

In the download options text field, add below options where XYZ is a name of a web browser you are using

--cookies-from-browser XYZ

Supported web browsers are:-

brave
chrome
chromium
edge
firefox
opera
safari
vivaldi
wmortume commented 6 months ago

@mhogomchungu I'm using chrome and yes I'm logged in on the skool website. Tried the m3u8 link with the cookies and it's giving me permission denied for the cookies folder. Is there something I'm missing and should I use the video URL instead of m3u8 (both give same error)?

image

mhogomchungu commented 6 months ago

This appears to be a known problem and a possible workaround is to close chrome before trying to download.

More info here.

wmortume commented 6 months ago

@mhogomchungu I'm still getting the forbidden error but the error description is different. I don't think m38u links are still valid after closing chrome since the link gets changed when refreshing the video. image

I also tried the video direct link and it's giving me unsupported url error. image

mhogomchungu commented 6 months ago

"Unsupported URL" means yt-dlp does not know how to extract media from that website.

This is a problem for yt-dlp and you should open a request with yt-dlp and ask them to support this website.