AminBhst / brisk

Ultra-fast, modern download manager for desktop
GNU General Public License v3.0
253 stars 18 forks source link

Add support of DownloadHelper CoApp and Flybird-downloader and N_m3u8DL-RE m3u8 mpd parsers to avoid WebAssembly's limitations videos up to 2GB only #59

Open trimechee opened 2 days ago

trimechee commented 2 days ago

Hello, actually I see the worrying trend of the majority of streaming platforms to only offer HD/1080p quality which have a mind-boggling weight and its disastrous consequences on web browsers which due to WebAssembly's limitations: only videos up to 2GB can be processed, like my favorite streaming site voiranime which in the past, offered 3 streaming platforms that have a reasonable standard SD video quality that is fast to download, but currently there is only one streaming platform that offers quality standard 480p i.e. a 24-minute anime episode weighs 100 MB, and maybe this platform will no longer offer SD quality and the weight of the videos will become even bigger with 1080p quality by default or 4k as a single video quality and the extension or the web browser can no longer download the video because their weight exceeds 2Gb,

so in view of this future nightmare, we hope please that the awesome Brisk donwload manager will add compatibility with new awesome external m3u8 mpd parsers that can download large files and bypass the worrying limit of 2GB per video,

so the famous extension Video DownloadHelper uses an open source external downloader parser : DownloadHelper CoApp to download some complicated videos, it is an open source external parser so maybe it will be a good idea to add support for this external downloader to solve some possible problems to download large videos in the future :

https://github.com/aclap-dev/vdhcoapp/

and also please add the compatibility with this outstanding tool Flybird-downloader which is a video downloader tool that can download m3u8 videos, mpd videos, mp4 videos and resume downloading large files:

https://github.com/youwen21/flybird-m3u8downloader

and also the magnificent N_m3u8DL-RE which is cross-platform, modern and powerful stream downloader for MPD/M3U8/ISM ::

https://github.com/nilaoda/N_m3u8DL-RE

and this is the rare ffmpeg online web site for online transcode or merge audio/video operations of Cat-Catch donwloader extension :

https://ffmpeg.bmmmd.com/

Thanks a lot!

AminBhst commented 1 day ago

Hey @trimechee. Thanks a lot that seems like an excellent tool! I'll definitely check it out since I'm about to start working on downloading streamed videos in the next few days. I'm sure the tools you've suggested so far will be very helpful. Appreciate it!

trimechee commented 23 hours ago

Great! Thanks a lot Mr @AminBhst ! I hope it won't tire you out too much.....

open sosurce cat-catch extension already has integration and compatibility with N_m3u8DL-RE, but the problem is the documentation is in Chinese:

https://github.com/xifangczy/cat-catch-book

and there are command lines to add in the cat-catch settings in the N_m3u8DL-RE specific section.....in addition we have to install urlprotocol to invoke protocol of the external dowloader parser.....:

https://github.com/xifangczy/URLProtocol

all this can be difficult and complex for non-expert users and the dream is an out of the box operations.....

cat-catch supported youtube download but the developer said he doesn't support youtube anymore, probably because of pressure from google.....

if Brisk plans to support youtube, I think the most difficult thing is to find the solution to the reinforced security of chrome which now prohibits the interaction between cookies and yt-dp.... because once again the problem of importing cookies to be able to download from youtube occupies a central place in the issues of yt-dlp, in comments many people offer more or less complicated solutions and tips, and sometimes it works temporarily, sometimes it doesn't work....

https://github.com/yt-dlp/yt-dlp/issues/8227

https://github.com/yt-dlp/yt-dlp/pull/11090

https://github.com/yt-dlp/yt-dlp/issues/10927

i read the issues and the different solutions and this solution seems to me the most promising efficient, this solution is to add these 2 vital plugins or add an option to easily add these capital 2 vital plugins to fix cookie problems :

This repository contains a plugin package that adds support for logging into YouTube with OAuth2 to yt-dlp's YouTube Extractors :

https://github.com/coletdjnz/yt-dlp-youtube-oauth2

and

A plugin framework for yt-dlp that allows the YouTube extractor to request Proof of Origin (PO) Tokens from an external source when needed. It allows for multiple providers to co-exist and provide PO Tokens for different scenarios.

https://github.com/coletdjnz/yt-dlp-get-pot

and

A yt-dlp plugin to unlock the cookie database of chromium-based browsers

https://github.com/seproDev/yt-dlp-ChromeCookieUnlock

i think the risk is very serious and yt-dlp might not be able to download youtube in the near future, and i think it is good idea to make these plugins optional and it is up to the user to choose with his free will to install it or not, thank you very much!

https://github.com/coletdjnz/yt-dlp-youtube-oauth2

and

https://github.com/coletdjnz/yt-dlp-get-pot

and

https://github.com/seproDev/yt-dlp-ChromeCookieUnlock

let's notice Persepolis download manager has good support of youtube :

https://github.com/persepolisdm/persepolis

and also :

https://github.com/aandrew-me/ytDownloader https://ytdn.netlify.app/

https://github.com/ErrorFlynn/ytdlp-interface

https://github.com/zaidka/cliget https://genieacs.com/ https://forum.genieacs.com/

AminBhst commented 21 hours ago

I'll try not to overwork myself :) Thanks again. You're very helpful. Btw, if by any chance you're on discord I'd be happy to have you on my server. I think it can be helpful for me as well since I believe you have a very solid knowledge when it comes to the current state of downloading video streams which is a pretty huge feature to implement. It might be even more difficult than the v2.0.0 which I've been working on for months. So being able to ask you questions and get your insight would be nice.

trimechee commented 20 hours ago

Yes, thank you and sorry for sending all these tools, it's just to have the choice....I'm not an expert, I'm literary, idm cracks can be full of malware viruses, or the crack erases part of the registry which can cause instability of the OS.....hence my research, I think the best is that Brisk simply uses cat catch to capture the links, i.e. Brisk will bring the user to the cat catch github page if he wants to install an extension..... Brisk will take care of intercepting the flow and using an m3u8 parser....

the live stream downloader extension captures video of the full sports match that cat catch cannot capture, I spoke to the cat catch developer who sent me a regesx expression to add in the settings and it worked.....

so I think Brisk should think about it or why not use these 2 extensions:

https://github.com/chandler-stimson/live-stream-downloader

then the most important thing is that the download is no longer done in the browser but in Brisk to avoid the webassembly limit of 2 Gb.....

unfortunately my laptop broke down and I use an old little eee pc that stops working if I use heavy programs and discord is heavy and I don't think it is compatible with windows 7 os 32 bits.....but I keep your contact details :) and me I can contact you via github :) thisis my mail : drimis216@gmail.com

AminBhst commented 10 hours ago

No don't apologize you're a great help. If you hadn't mentioned those tools, I would have had no idea such projects even existed. I don't think redirecting the user to cat-catch is a UX friendly approach tbh and I don't even think I can intercept it using cat-catch itself. I'll probably have to look at their source code and get inspiration on how to do things. It's okay bro. I hope your laptop gets fixed soon.

trimechee commented 10 hours ago

Thank you :) a developer gives me his linkedin and says me that i can contact him via linkedin, so i make today linkedin, it was difficilt, linkedin asks a lot of question haha....this is my linkedin :

https://www.linkedin.com/in/drimis-tounsi-938771335/

and my twitter if you wish ask me questions :

https://x.com/drimis216

ahh i was thinking cat catch is the is the best candidate to catch videos with integration with download manager.....

currently in the world ,there are very few open source extensions to download videos, here are the rare extensions efficient that are updated :

https://github.com/xifangczy/cat-catch

https://github.com/chandler-stimson/live-stream-downloader https://github.com/helloyanis/file-downloader-unleashed

https://github.com/puemos/hls-downloader

https://code.downthemall.org/

https://github.com/inbasic/bulk-media-downloader https://github.com/inbasic/turbo-download-manager-v2

also these donwloader extensions are good but not updated actually :

https://github.com/54ac/stream-detector

https://github.com/ray-lothian/Easy-Video-Downloader

filecentipede is the only download manager that is opens source and has powerful video downloader :

https://github.com/filecxx/FileCentipede

from my research these are the most effective and powerful and up to date open source extensions (maybe the only open source extensions worldwide)

there is opens source download managers like motrix, xtreme download manager, uget that have their own extensions to catch links, but some donwload managers are not updated and other can't detected embedded videos.....

trimechee commented 5 hours ago

there is also hitomi downloader , but this software disappointed me, I asked the developer to remove support for indecent vulgar sites but apparently he didn't see my issue....

https://github.com/KurtBestor/Hitomi-Downloader

AminBhst commented 2 hours ago

Well I mean why would he lol

trimechee commented 2 hours ago

let's suppose a family member makes indecent videos, if that's the case, he wants people to see this family member in indecent position? in addition several porn sites have been pinned for revenge porn, i.e. videos are posted on porn sites without people's consent and it destroys lives....i don't think @github allows such disgusting things, and law don't allow that, when yt-dlp received a dmca complaint, yt-dlp was removed from github before coming back later, probably the developers removed support for some sites copy right ....

i talked about hitomi because he seems to have managed to fix the cookie problem and can download facebook videos, youtube, and can download m3u8, mpd videos....2 days ago i couldn't download facebook using yt dlp...

I think I'm going to post a more threatening message asking the developer to delete the support these sites immediately otherwise I'll report his project, and I have a Twitter page with thousands of subscribers, plus I have to check if yt-dlp also allows to download from indecent sites and I'm even going to threaten yt-dlp that I'm going to report yt dlp if that's the case, developers who spread vice, corruption, and AIDS in the world must be ashamed, it's unacceptable

AminBhst commented 1 hour ago

Ah those kind of sites. I though you meant regular ones. Yeah fair enough

trimechee commented 16 minutes ago

Yess, I was talking about this kind of sites, what surprises hitomi highlights this kind of sites in his github page like it is a pride to support such sites and thus gives bad ideas to users.....

and sorry Mr AminBhst for the tone of my message, I was talking in general and in addition you did not know that I was talking about this kind of site....

many will have difficulty making donations to yt-dlp if yt dlp supports such sites....