HTTP Error 403: Forbidden (cannot use yt-dlp)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
yt-dlp (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The yt-dlp package seems to be outdated. A solution has been posted on https:/
1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
$ lsb_release -rd
No LSB modules are available.
Description: Ubuntu 23.04
Release: 23.04
2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
$ apt-cache policy yt-dlp
yt-dlp:
Installed: 2023.03.04-1
Candidate: 2023.03.04-1
Version table:
*** 2023.03.04-1 500
500 http://
100 /var/lib/
3) What you expected to happen
When running the yt-dlp command, I expected yt-dlp to download video/audio from Youtube
4) What happened instead
Sample output:
$ yt-dlp -x https:/
[youtube] Extracting URL: https:/
[youtube] ODbzI7D0c7c: Downloading webpage
[youtube] ODbzI7D0c7c: Downloading android player API JSON
[info] ODbzI7D0c7c: Downloading 1 format(s): 251
[dashsegments] Total fragments: 1
[download] Destination: Wala Man Sa'yo Ang Lahat -Lyrics- | Myrus Ramirez [ODbzI7D0c7c].webm
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (1/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (2/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (3/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (4/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (5/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (6/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (7/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (8/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (9/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (10/10)...
[download] Got error: HTTP Error 403: Forbidden. Giving up after 10 retries
ERROR: fragment 1 not found, unable to continue
ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: yt-dlp 2023.03.04-1
ProcVersionSign
Uname: Linux 6.2.0-34-generic x86_64
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Thu Oct 5 17:49:47 2023
InstallationDate: Installed on 2023-10-05 (0 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
PackageArchitec
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-
XDG_RUNTIME_
SourcePackage: yt-dlp
UpgradeStatus: No upgrade log present (probably fresh install)
G'day!
yt-dlp is up to date in Mantic (well, Debian and mantic-proposed technically) and jammy-backports has a fixed version of yt-dlp, as you can see on https:/ /launchpad. net/ubuntu/ +source/ yt-dlp
As lunar-backports isn't open for uploads, I guess your options are to either download yt-dlp otherwise, wait for mantic to release, use jammy and yt-dlp from backports, or I guess add jammy-backports and hope nothing breaks.