this post was submitted on 06 Jan 2026
16 points (100.0% liked)

linux4noobs

3307 readers
2 users here now

linux4noobs


Noob Friendly, Expert Enabling

Whether you're a seasoned pro or the noobiest of noobs, you've found the right place for Linux support and information. With a dedication to supporting free and open source software, this community aims to ensure Linux fits your needs and works for you. From troubleshooting to tutorials, practical tips, news and more, all aspects of Linux are warmly welcomed. Join a community of like-minded enthusiasts and professionals driving Linux's ongoing evolution.


Seeking Support?

Community Rules

founded 2 years ago
MODERATORS
 

I'm not a programmer so I'm probably not using the right words but when I'm in Firefox and press F12 to get to the console (?) where can I find the address of the video that's currently displayed on the page (to download with wget or yt-dlp)? I tried element picker but nothing that looks like an address appeared.

TIA!

top 5 comments
sorted by: hot top controversial new old
[–] ludrol@programming.dev 1 points 6 days ago

yt-dlp and Jdownloader2 work most times

@fort_burp Check the network panel, not elements. There you should be able to filter for media.

Make sure to have it open befote loading the page.

Also note that some pages might use video files like mp4, some might use playlists, others might use DRM which is not supported by yt-dlp anyway.

Also yt-dlp might work just by using the website URL, it will auto fetch the video from the page.

[–] tal@lemmy.today 5 points 1 week ago* (last edited 1 week ago)

ind the address of the video that’s currently displayed on the page (to download with wget or yt-dlp)

I think that what you're wanting to actually do isn't use the Firefox developer console, but rather the list of media.

Click on the lock icon in the URL bar. Under that, choose "Connection secure". Under that, "More information". Click on the "media" tab. You'll have a list to the URL of the videos on the page.

For many sites, though, you can just feed the address of the page, not the video embedded in the page, to yt-dlp and it'll go looking and can find the video itself.

EDIT: If you're new to yt-dlp and your URL has characters that bash interprets specially, like "&" or something, be sure to put quotes around the URL to avoid that.

E.g.:

https://www.youtube.com/watch?v=WOUY5H6b6N0&t=30s

Should be:

$ yt-dlp 'https://www.youtube.com/watch?v=WOUY5H6b6N0&t=30s'

yt-dlp video_url if the site is supported by yt-dlp.

If the site is not supported, F12 only works sometimes. Many sites use some form of encryption or obfuscation to try to prevent you from downloading.

I've had good luck with Xtreme download manager. It's FOSS, and has a browser extension that automatically detects videos and gives you the option to download them.

[–] A_norny_mousse@feddit.org 1 points 1 week ago* (last edited 6 days ago)

Different mechanisms.

If it's YT (or a yt embed) just use yt-dlp. Same goes for many, many other sites. Other comments describe how to do that.

If not, try what @danielsiepmann@friendica.daniel-siepmann.de recommends. However, sites use all sorts of tricks like providing the video in chunks, or hiding the actual video URL behind so much javascript that a human just can't get at it, or requiring authentication etc.