Page 1 of 1
yt-dlp
Posted: Thu Mar 20, 2025 12:00 pm
by RJP
In
MX Linux has outdated
yt-dlp, which does not work in
YouTube anymore. Would it possible to get a fresh version from
yt-dlp ?
https://github.com/yt-dlp/yt-dlp/wiki/Installation
Also
ibam would be good for conky.
Re: yt-dlp
Posted: Thu Mar 20, 2025 12:09 pm
by Eadwine Rose
Please limit the use of bolding, makes a post more pleasant to read. Thanks. :)
Re: yt-dlp
Posted: Thu Mar 20, 2025 12:29 pm
by Jerry3904
MX Package Installer > MX Test Repo has a newer version: 24.12.23
Re: yt-dlp
Posted: Thu Mar 20, 2025 12:33 pm
by siamhie
RJP wrote: ↑Thu Mar 20, 2025 12:00 pm
In
MX Linux has outdated
yt-dlp, which does not work in
YouTube anymore.
Have you tried the version from the test repo? 2024.12.23-1~mx23+1
Missed
@Jerry3904's post.
Re: yt-dlp
Posted: Thu Mar 20, 2025 12:58 pm
by BV206
Jerry3904 wrote: ↑Thu Mar 20, 2025 12:29 pm
MX Package Installer > MX Test Repo has a newer version: 24.12.23
That one is also way out of date.
The latest version (2025.02.19 as of today) is in Debian Backports repo. It usually gets updated there a few days after a new release.
Re: yt-dlp
Posted: Thu Mar 20, 2025 1:10 pm
by Jerry3904
So you can just install it with Package Installer, right?
Re: yt-dlp
Posted: Thu Mar 20, 2025 1:18 pm
by BV206
Jerry3904 wrote: ↑Thu Mar 20, 2025 1:10 pm
So you can just install it with Package Installer, right?
Probably yes. You should be able to go to the MXPI Backports tab and check install or upgrade. I don't think yt-dlp is any different than most other backports packages. I never had a problem with it.
Re: yt-dlp
Posted: Thu Mar 20, 2025 4:41 pm
by FullScale4Me
BV206 wrote: ↑Thu Mar 20, 2025 1:18 pm
Jerry3904 wrote: ↑Thu Mar 20, 2025 1:10 pm
So you can just install it with Package Installer, right?
Probably yes. You should be able to go to the MXPI Backports tab and check install or upgrade. I don't think yt-dlp is any different than most other backports packages. I never had a problem with it.
I just did the upgrade via Debian Backports in MXPI. No dramas. The video downloaded from YouTube opened and played fine.
Re: yt-dlp
Posted: Thu Mar 20, 2025 7:04 pm
by siamhie
BV206 wrote: ↑Thu Mar 20, 2025 12:58 pm
Jerry3904 wrote: ↑Thu Mar 20, 2025 12:29 pm
MX Package Installer > MX Test Repo has a newer version: 24.12.23
That one is also way out of date.
The latest version (2025.02.19 as of today) is in Debian Backports repo. It usually gets updated there a few days after a new release.
It's only 58 days between releases. How is that way out of date?
Re: yt-dlp
Posted: Thu Mar 20, 2025 7:25 pm
by Nokkaelaein
siamhie wrote: ↑Thu Mar 20, 2025 7:04 pm
It's only 58 days between releases. How is that way out of date?
Video services like Youtube try to actively stop tools like this from working, so it breaks often. (Sometimes way more often than 58 days in between

)
Re: yt-dlp
Posted: Thu Mar 20, 2025 7:41 pm
by BV206
siamhie wrote: ↑Thu Mar 20, 2025 7:04 pm
It's only 58 days between releases. How is that way out of date?
There were 3 releases between 12/23 and 2/19.
https://github.com/yt-dlp/yt-dlp/releases
Re: yt-dlp
Posted: Thu Mar 20, 2025 8:38 pm
by siamhie
Does 2024.12.23-1~mx23+1 work for you? because it works for me, both audio and video.
Re: yt-dlp
Posted: Thu Mar 20, 2025 8:39 pm
by siamhie
Nokkaelaein wrote: ↑Thu Mar 20, 2025 7:25 pm
siamhie wrote: ↑Thu Mar 20, 2025 7:04 pm
It's only 58 days between releases. How is that way out of date?
Video services like Youtube try to actively stop tools like this from working, so it breaks often. (Sometimes way more often than 58 days in between

)
2024.12.23-1~mx23+1 is working fine for me.
Re: yt-dlp
Posted: Thu Mar 20, 2025 8:51 pm
by Nokkaelaein
siamhie wrote: ↑Thu Mar 20, 2025 8:39 pm
2024.12.23-1~mx23+1 is working fine for me.
How many video services did you test it with, and what were they? :P
Edit: here's a list of the currently supported sites. I'm assuming some of them broke in between said versions:
https://github.com/yt-dlp/yt-dlp/blob/m ... edsites.md
Edit 2: but yeah, I tested 2024.12.23-1~mx23+1 with Youtube just now as well ; ) and it doesn't work:
Code: Select all
ERROR: unable to download video data: HTTP Error 403: Forbidden
Re: yt-dlp
Posted: Thu Mar 20, 2025 9:53 pm
by siamhie
Nokkaelaein wrote: ↑Thu Mar 20, 2025 8:51 pm
Edit 2: but yeah, I tested 2024.12.23-1~mx23+1 with Youtube just now as well ; ) and it doesn't work:
Code: Select all
ERROR: unable to download video data: HTTP Error 403: Forbidden
@Nokkaelaein Post the link so I can try on my end. Also post the command.
Re: yt-dlp
Posted: Thu Mar 20, 2025 10:07 pm
by Nokkaelaein
siamhie wrote: ↑Thu Mar 20, 2025 9:53 pm
@Nokkaelaein Post the link so I can try on my end. Also post the command.
I tested it with Rob Zabrecky's recent performance on Fool Us:
Code: Select all
yt-dlp "https://www.youtube.com/watch?v=bQPX8MT2Ik0"
But, seriously, it doesn't matter whether this works over there or not. It clearly doesn't work everywhere (as it doesn't work over here), and the most recent version, in turn, does work here. The reasons for the obsolete version getting blocked with a 403 at some particular location, yet working somewhere else, might be down to numerous factors like regional differences, Youtube's possible analysis of recent traffic from IP ranges where this request is originating from, and subsequently doing something that gets mitigated in the up to date version of yt-dlp, or... who knows what (without being deeply involved in developing a tool like this, and keeping it working, that is).
So yeah, the newest version works here, with that identical command.
Re: yt-dlp
Posted: Thu Mar 20, 2025 10:22 pm
by siamhie
Nokkaelaein wrote: ↑Thu Mar 20, 2025 10:07 pm
siamhie wrote: ↑Thu Mar 20, 2025 9:53 pm
@Nokkaelaein Post the link so I can try on my end. Also post the command.
I tested it with Rob Zabrecky's recent performance on Fool Us:
Code: Select all
yt-dlp "https://www.youtube.com/watch?v=bQPX8MT2Ik0"
Looks to be copyrighted. "HTTP Error 403: Forbidden"
Code: Select all
╔═[siamhie@flux23]═[19:18 20/03/25]═════════════════════════════════════[~/Downloads]
╚═> yt-dlp -f 137+140 https://www.youtube.com/watch?v=bQPX8MT2Ik0
[youtube] Extracting URL: https://www.youtube.com/watch?v=bQPX8MT2Ik0
[youtube] bQPX8MT2Ik0: Downloading webpage
[youtube] bQPX8MT2Ik0: Downloading ios player API JSON
[youtube] bQPX8MT2Ik0: Downloading mweb player API JSON
[youtube] bQPX8MT2Ik0: Downloading player 69f581a5
[youtube] bQPX8MT2Ik0: Downloading m3u8 information
[info] bQPX8MT2Ik0: Downloading 1 format(s): 137+140
[download] Destination: PENN & TELLER FOOL US ⧸⧸ ZABRECKY [bQPX8MT2Ik0].f137.mp4
[download] 9.8% of 101.11MiB at 30.96MiB/s ETA 00:02ERROR: unable to download video data: HTTP Error 403: Forbidden
*EDIT
I can't even grab it with clipgrab which uses yt-dlp 2025.02.19, so it's probably a copyright issue.
yt-dlp-2025.jpg
Re: yt-dlp
Posted: Thu Mar 20, 2025 10:27 pm
by Nokkaelaein
siamhie wrote: ↑Thu Mar 20, 2025 10:22 pm
Looks to be copyrighted. "HTTP Error 403: Forbidden"
Yes, the obsolete version of yt-dlp gives you a 403.
The up to date one:
Code: Select all
yt-dlp "https://www.youtube.com/watch?v=bQPX8MT2Ik0"
[youtube] Extracting URL: https://www.youtube.com/watch?v=bQPX8MT2Ik0
[youtube] bQPX8MT2Ik0: Downloading webpage
[youtube] bQPX8MT2Ik0: Downloading tv client config
[youtube] bQPX8MT2Ik0: Downloading tv player API JSON
[youtube] bQPX8MT2Ik0: Downloading ios player API JSON
[youtube] bQPX8MT2Ik0: Downloading player 69f581a5
[youtube] bQPX8MT2Ik0: Downloading m3u8 information
[info] bQPX8MT2Ik0: Downloading 1 format(s): 248+251
[download] Destination: PENN & TELLER FOOL US ⧸⧸ ZABRECKY [bQPX8MT2Ik0].f248.webm
[download] 100% of 55.33MiB in 00:00:43 at 1.28MiB/s
[download] Destination: PENN & TELLER FOOL US ⧸⧸ ZABRECKY [bQPX8MT2Ik0].f251.webm
[download] 100% of 6.65MiB in 00:00:05 at 1.23MiB/s
[Merger] Merging formats into "PENN & TELLER FOOL US ⧸⧸ ZABRECKY [bQPX8MT2Ik0].webm"
Deleting original file PENN & TELLER FOOL US ⧸⧸ ZABRECKY [bQPX8MT2Ik0].f248.webm (pass -k to keep)
Deleting original file PENN & TELLER FOOL US ⧸⧸ ZABRECKY [bQPX8MT2Ik0].f251.webm (pass -k to keep)
... and the downloaded video is now on my drive.
Re: yt-dlp
Posted: Thu Mar 20, 2025 10:30 pm
by siamhie
Nokkaelaein wrote: ↑Thu Mar 20, 2025 10:27 pm
siamhie wrote: ↑Thu Mar 20, 2025 10:22 pm
Looks to be copyrighted. "HTTP Error 403: Forbidden"
Yes, the obsolete version of yt-dlp gives you a 403.
I was using the test repo version.
Code: Select all
Package: yt-dlp
Version: 2024.12.23-1~mx23+1
Re: yt-dlp
Posted: Thu Mar 20, 2025 10:33 pm
by Nokkaelaein
siamhie wrote: ↑Thu Mar 20, 2025 10:30 pm
I was using the test repo version.
Yes, same here. And then the up to date one, which works.
Re: yt-dlp
Posted: Thu Mar 20, 2025 10:44 pm
by siamhie
Nokkaelaein wrote: ↑Thu Mar 20, 2025 10:33 pm
siamhie wrote: ↑Thu Mar 20, 2025 10:30 pm
I was using the test repo version.
Yes, same here. And then the up to date one, which works.
Then just wait for the package request to go through, if you are the OP.
Re: yt-dlp
Posted: Thu Mar 20, 2025 10:50 pm
by Nokkaelaein
siamhie wrote: ↑Thu Mar 20, 2025 10:44 pm
Then just wait for the package request to go through, if you are the OP.
On my part... I'm not :), I was responding, and demonstrating how, after your:
siamhie wrote: ↑Thu Mar 20, 2025 7:04 pm
It's only 58 days between releases. How is that way out of date?
And yep, as pointed out on the first page, the Debian Backports (accessed from the Package Installer) already contains a working, recent version (2025.02.19-1~bpo12+1).
Re: yt-dlp
Posted: Thu Mar 20, 2025 11:21 pm
by towwire
I can do it using yt-dlp ver 2024.12.23-1~mx21+1. This is on MX-21.3.
File is here: /media/towwire/Video_Edit/MySound/PENN & TELLER FOOL US ⧸⧸ ZABRECKY-bQPX8MT2Ik0.mp4 Size: 108.5 MiB (113,798,562 bytes)
I used 234+270, to get 1080p which is the largest one.
Re: yt-dlp
Posted: Fri Mar 21, 2025 12:58 am
by siamhie
towwire wrote: ↑Thu Mar 20, 2025 11:21 pm
I used 234+270, to get 1080p which is the largest one.
That works for me also with yt-dlp 2024.12.23-1~mx23+1.
234 grabs the audio and 270 grabs the 1080 video and yt-dlp merges them together. No more using 137+140.
Just tried a 4K video and it works also with the 234 code. 625 is 2160.
Code: Select all
yt-dlp -f 234+625 https://www.youtube.com/watch?v=ZSXrqhGGoC4
Re: yt-dlp
Posted: Fri Mar 21, 2025 11:29 am
by mxismythang
yt-dlp can self-update if you use the `-U` flag
Code: Select all
mx@mx:~/Downloads/yt-dlp
$ ./yt-dlp -U
Current version: stable@2025.01.26 from yt-dlp/yt-dlp
Latest version: stable@2025.02.19 from yt-dlp/yt-dlp
Current Build Hash: 227631e434d6f8418c4b821aeefc6302d3d1db1e7d805da2ad5b301c8d910107
Updating to stable@2025.02.19 from yt-dlp/yt-dlp ...
Updated yt-dlp to stable@2025.02.19 from yt-dlp/yt-dlp
I wouldn't expect the community repo to stay on top of the update cycle for yt-dlp in their arms race against Google.
Re: yt-dlp
Posted: Fri Mar 21, 2025 11:37 am
by siamhie
mxismythang wrote: ↑Fri Mar 21, 2025 11:29 am
yt-dlp can self-update if you use the `-U` flag
Code: Select all
mx@mx:~/Downloads/yt-dlp
$ ./yt-dlp -U
Current version: stable@2025.01.26 from yt-dlp/yt-dlp
Latest version: stable@2025.02.19 from yt-dlp/yt-dlp
Current Build Hash: 227631e434d6f8418c4b821aeefc6302d3d1db1e7d805da2ad5b301c8d910107
Updating to stable@2025.02.19 from yt-dlp/yt-dlp ...
Updated yt-dlp to stable@2025.02.19 from yt-dlp/yt-dlp
I wouldn't expect the community repo to stay on top of the update cycle for yt-dlp in their arms race against Google.
You can't if you have installed yt-dlp from the repos. There's a thread on here talking about that.
Re: yt-dlp
Posted: Sat Mar 29, 2025 12:55 am
by RJP
Not working in YouTube 2025.
Re: yt-dlp
Posted: Sat Mar 29, 2025 5:44 pm
by Stevo
RJP wrote: ↑Sat Mar 29, 2025 12:55 am
Not working in YouTube 2025.
Yas, we know. Please try updating it from Backports with MXPI, and trying again...though I tried downloading from Youtube this morning with qmplay2, and it had some trouble and automatically self-updated its own internal yt-dlp copy to fix the problem, as it does.
Re: yt-dlp
Posted: Mon Mar 31, 2025 2:30 am
by Stevo
Anyhow, I built and sent up 2025.03.27 from Sid for main today.
Re: yt-dlp
Posted: Tue Apr 01, 2025 5:23 pm
by siamhie
Stevo wrote: ↑Mon Mar 31, 2025 2:30 am
Anyhow, I built and sent up 2025.03.27 from Sid for main today.
Working great for me.
Does it work for you
@RJP?