Bonjour
Depuis quelques jours je ne parviens plus à télécharger des videos sur Youtube. Je fais clic droit comme d’hab sous la video sur les 3 petits points à droite des boutons Partager et Enregistrer , puis sur Video DownloadHelper et je vois " no media " au lieu du choix de formats habituel
Video DownloadHelper est bien dans les extensions Firefox ( j’ai décoché les autres comme uBlockOrigin par précaution) et youtube-dl 2021.12.17-2 est installé.
Je suis sous bookworm 12.9 xfce et j’ai Firefox 128.7.0esr
Merci
joel@hP600:~$ apt policy yt-dlp
yt-dlp:
Installé : 2023.03.04-1
Candidat : 2023.03.04-1
Table de version :
*** 2023.03.04-1 500
500 http://deb.debian.org/debian bookworm/main amd64 Packages
100 /var/lib/dpkg/status
joel@hP600:~$ sudo apt install yt-dlp
[sudo] Mot de passe de joel :
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
yt-dlp est déjà la version la plus récente (2023.03.04-1).
yt-dlp passé en « installé manuellement ».
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
joel@hP600:~$
J’ai bien trouvé yt-dlp 2025 ici
Faut-il le télécharger ou faire une mise à jour des dépôts ?
Je ne suis pas sûr de savoir modifier sources.list correctement
merci
Je vois ici que la dernière version stable de Bookworm est la 12.10, or je suis sous 12.9
Faire une mise à jour de mon système vers 12.10 ? le paquet yt-dlp 2025.03.21-1 pourrait s’y trouver ?
J’ai fait une mise à jour vers 12.10 , ça ne mange pas de pain
Après avoir lu ceci dans DebianFacile, voici le retour de commande :
joel@hP600:~$ sudo apt -t bookworm-backports install yt-dlp
[sudo] Mot de passe de joel :
Lecture des listes de paquets... Fait
E: La valeur « bookworm-backports » n'est pas valable pour APT::Default-Release car cette version ne fait pas partie des sources disponibles.
joel@hP600:~$
Edition du fichier /apt/sources.list
#deb cdrom:[Official Debian GNU/Linux Live 12.2.0 xfce 2023-10-07T09:29:19Z]/ bookworm main non-free-firmware
deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
deb-src http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
@bub : Comment ajouter cette ligne ? la recopier telle quelle en dernière ligne du fichier /etc/apt/sources.list ou ajouter deb ou autre chose au début ?
@ dindoun Oui j’ai bien pensé la même chose. Comme je n’ai pas d’autre besoin pour le moment je n’ai pas ajouté la ligne sur les backports à mon sources.list. Mais c’est bien d’avoir la possibilité au cas où.
joel@hP600:~$ yt-dlp https://www.youtube.com/watch?v=um0VleA8jRE
[youtube] Extracting URL: https://www.youtube.com/watch?v=um0VleA8jRE
[youtube] um0VleA8jRE: Downloading webpage
[youtube] um0VleA8jRE: Downloading android player API JSON
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (1/3)...
[youtube] um0VleA8jRE: Downloading android player API JSON
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (2/3)...
[youtube] um0VleA8jRE: Downloading android player API JSON
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (3/3)...
[youtube] um0VleA8jRE: Downloading android player API JSON
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] Unable to download API page: HTTP Error 400: Bad Request (caused by <HTTPError 400: 'Bad Request'>); please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
[youtube] um0VleA8jRE: Downloading player 4fcd6e4a
WARNING: [youtube] um0VleA8jRE: nsig extraction failed: You may experience throttling for some formats
n = 3Wlh4WWU3RmbfzqGM ; player = https://www.youtube.com/s/player/4fcd6e4a/player_ias.vflset/en_US/base.js
WARNING: [youtube] um0VleA8jRE: nsig extraction failed: You may experience throttling for some formats
n = rtnxm1GrV5YJ_wk1n ; player = https://www.youtube.com/s/player/4fcd6e4a/player_ias.vflset/en_US/base.js
[info] um0VleA8jRE: Downloading 1 format(s): 135+140
[dashsegments] Total fragments: 10
[download] Destination: Swing- Lindy Hop Dance lessons level 1 [um0VleA8jRE].f135.mp4
[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
[dashsegments] Total fragments: 4
[download] Destination: Swing- Lindy Hop Dance lessons level 1 [um0VleA8jRE].f140.m4a
[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
essai sur une autre video
joel@hP600:~$ yt-dlp https://www.france.tv/france-5/les-docs-de-la-grande-librairie/7005082-marguerite-yourcenar.html
[FranceTVSite] Extracting URL: https://www.france.tv/france-5/les-docs-de-la-grande-librairie/7005082-marguerite-yourcenar.html
[FranceTVSite] 7005082-marguerite-yourcenar: Downloading webpage
ERROR: [FranceTVSite] 7005082-marguerite-yourcenar: Unable to extract video ID; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
joel@hP600:
joel@hP600:~$ yt-dlp -U
Available version: stable@2025.03.26, Current version: stable@2023.03.04
ERROR: As yt-dlp has been installed via apt, you should use that to update. If you're on a stable release, also check backports.
joel@hP600:~$
J’ai donc mis à jour les paquets (déjà fait hier après midi )
joel@hP600:~$ sudo apt update
[sudo] Mot de passe de joel :
Atteint :1 http://security.debian.org/debian-security bookworm-security InRelease
Atteint :2 http://deb.debian.org/debian bookworm InRelease
Réception de :3 http://deb.debian.org/debian bookworm-updates InRelease [55,4 kB]
55,4 ko réceptionnés en 0s (130 ko/s)
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
Tous les paquets sont à jour.
joel@hP600:~$ sudo apt upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
joel@hP600:~$
@blunt : pour le moment je n’ai pas introduit deb http://deb.debian.org/debian bookworm-backports main contrib non-free dans le sources.list puisque ça marchait sans ça. Evidemment je comprends maintenant pourquoi la MàJ n’a abouti qu’au paquet yt-dlp 23.03.04-1
Ce qui m’étonne c’est que cette manip a marché hier, et pas ce matin