this post was submitted on 28 Feb 2024
73 points (94.0% liked)

Firefox

17952 readers
445 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
 

I've been using this extension for a while now and it works great, but since recently a QR-code is put onto the video when downloaded (if it's a HSL one that needs to be converted). I understand that this converting process can be expensive and I'm willing to donate, but $30 seems like a lot no? The QR-code is not small either, it takes up like 40% of the video, rendering it absolutely useless. Does anyone know any alternatives or workarounds?

top 21 comments
sorted by: hot top controversial new old
[–] vort3@lemmy.ml 85 points 9 months ago (1 children)

The workaround is to not use the software you don't like.

Use yt-dlp, it gets the job done without any ads, donations, cookie banners etc.

[–] stebo02@lemmy.dbzer0.com 9 points 9 months ago

The workaround is to not use the software you don't like

I did like it though until now...

Thanks for the suggestion I'll try it!

[–] Krafting@lemmy.world 56 points 9 months ago (1 children)

yt-dlp is the best tool out there, and you can find plenty of GUI for it out there, for free. Don't use bullshit extensions like this one.

[–] navi@lemmy.tespia.org 1 points 9 months ago

Any extensions that can somehow run yt-dlp?

[–] 4am@lemm.ee 38 points 9 months ago (2 children)
[–] Furycd001@fosstodon.org 8 points 9 months ago

@4am @stebo02 yt-dlp is probably the best downloader on the planet. I have it installed on literally every device possible....

[–] eddanja@lemmy.world 4 points 9 months ago

This is the way.

[–] MangoPenguin@lemmy.blahaj.zone 20 points 9 months ago

Anything that uses youtube-dlp, so this one for example: https://github.com/StefanLobbenmeier/youtube-dl-gui

Better too because it's not running as a browser extension.

[–] altima_neo@lemmy.zip 15 points 9 months ago

Yeah, that extension is ok, but the video quality of it sucks.

Use jdownloader2 or yt-dlg

[–] UndercoverUlrikHD@programming.dev 11 points 9 months ago (1 children)

You can use The Stream Detector for HLS which can then be used to download via a program such as ffmpeg

[–] pipariturbiini@sopuli.xyz 1 points 9 months ago (2 children)

Does this work on any site? e.g. Pornhub?

[–] WigglyTortoise@discuss.tchncs.de 3 points 9 months ago (1 children)

I haven't used this extension before but it seems like what it does is find the URLs of active videos. You can do the same manually by F9(or right click > inspect) > Network > Media > Sort by size (larger files will probably be video). This will give you the URL of the video (same as if you right clicked and chose "open video in new tab", but some sites disable this).

This approach usually works for me, but many sites take steps to prevent it.

  1. Send several smaller video files. They basically cut it up into short videos so you can't access the whole thing at once. ffmpeg or a download manager (I use TurboDownloadManager) should be able to combine them relatively easily. Until recently, YouTube used this sort of method. The URL had a "range" tag that specified which frames of the video to show. Deleting this tag gave the whole video. They've since changed it and I don't know any similar tricks (just use yt-dlp for YouTube). Other sites may do something similar, like changing a number or keyword in the URL will get you the whole video.

  2. Serve a preview of a full video (that you have to pay for). Many sites have very similar URLs for free and paid videos. On some sites you might be able to guess what you need to change to get the full video. Some sites have their previews named "preview.mp4" whee the full vudeo is the same URL but named "video.mp4" or something like that. You can spend some time messing around if you find something like this, but really the chances of guessing correctly are pretty low.

  3. Encrypted keys. This is basically impossible to crack. Some URLs will have long strings of letters and numbers in them. I assume this is some sort of encrypted password that needs to match up for you to access the video. Don't even try with these ones.

TL;DR usually it'll work. Sometimes it won't but you might be able to get around it.

Also, yt-dlp works on much more than just YouTube. If I can't figure out how to download a video, I'll just give the URL (the webpage, not the direct video URL) to yt-dlp and it'll often work.

Regarding point 1. that's what HLS does. The extension simply generates a simple to use CLI command to request and compile the HLS stream into a normal video file. Simply sniffing out the video source via the network manager is just the first step and most simple step of the process.

I don't know what method it uses for streaming content, if it's HLS I don't see why it wouldn't work.

[–] RobotToaster@mander.xyz 6 points 9 months ago (2 children)

Firefox allows closed source extensions?

[–] possiblylinux127@lemmy.zip 1 points 9 months ago

Surprise!

Although you could do the same thing with Foss.

[–] everett@lemmy.ml 1 points 9 months ago
[–] mulcahey@lemmy.world 6 points 9 months ago (1 children)

I'm confused. I've been using this extension for years on desktop without this issue. I think it has an option where you can install a companion conversion app on your machine and bypass the QR code. Am I mistaken?

[–] stebo02@lemmy.dbzer0.com 1 points 9 months ago

No this is with the companion app. The QR code doesn't always appear but only with certain video formats that need to be converted. You probably simply haven't tried to download such a video yet.

[–] wildcardology@lemmy.world 5 points 9 months ago

Jdownloader2 is all you need. Supports lots of websites.

[–] johnjamesautobahn@beehaw.org 3 points 9 months ago

JDownloader works on yt I believe, and it also parses HLS. you can set it to auto import from the clipboard as well, so just copy a url and it adds it to the queue