| Re: [CBLX] yt-dlp et DailyMotion |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/carrefourblinux Archives
]
- To: CBLX <carrefourblinux@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: [CBLX] yt-dlp et DailyMotion
- From: Aldo <lar0sa.osvaldo@xxxxxxxxx>
- Date: Sat, 18 Jul 2026 19:08:43 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784394525; x=1784999325; darn=lists.tuxfamily.org; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:to:from :date:from:to:cc:subject:date:message-id:reply-to:content-type; bh=WG2NGM1KBkf8MkhHqmWOCxF0403xfOAdy7yyNzRAsXE=; b=mznLxdOrDlsXUhCerkz3rwgRu3Nh5Och7la5wzow1FGwRAJSy88CJlx3w1mSTxiTm3 pz/1Icx2V8FAKDt8oRYA6ElqZFZ0QUc6HVRIRkubcdr/e9lloi9YwplHJbE89c99bY9y h8LV0gmTNiUV4QZerQyTHbPFRl8nqxP6UrjMHPQbIyUw2RWHkdd4rDF3/AznBJiaZZm2 Dkjdlv5F4p57jgHVmYGR7ajDI3JvKj2MSabzlbwHwVDuBYa76v9rzFHC3AgWyQ6ccn/E CxhEzwvMA3aKoxuqe5S+DQmA/RHIJG7IqVoFFLWX6EpBYl1ioDk6GCVFvVr+cU46htcr d3uQ==
Bonjour Pierre,
malgré une maj de yt-dlp je n'arrive pas à avoir le clip via DailyMotion,
je me suis reporté sur YT, mais je voudrais malgré tout résoudre le problème,
sans quoi yt-dlp ne me servirait plus qu'à repécher des tutos, audios, livres et autres QUE de YT !
Ce problème n'existait pas avec le défunt youtube-dl !
B à t, Aldo.
On Thu, Jul 16, 2026 at 11:32:14PM +0200, Pierre Estrem wrote:
> Bonsoir Aldo et la liste,
>
> J'ai souvent rencontré également ce problème et je le contourne en usant de
> Python.
> J'ai joint un script qu'il faut fairre tourner dans un environnement Python
> (souvent situé dans le dossier .venv).
>
> Peut-êrtre que cela t'aidera...
>
> Pierre Estrem
>
>
> Le 16/07/2026 à 17:22, Osvaldo La Rosa aka Aldo a écrit :
> > Bonjour.
> >
> > Malgré un ventilo pour éviter la surchauffe de mon ordi, je n'arrive pas à télécharger - en ligne de commande - un clip de DailyMotion,
> > pourtant yt-dlp dit être compatible avec un millier de plateformes!
> >
> > Voici ce que je fais:
> >
> > ###
> >
> > # Check:
> > $ which yt-dlp
> > /home/moi/bin/yt-dlp
> >
> > # Exécution:
> > $ yt-dlp -x --audio-format mp3http://www.dailymotion.com/video/x9jtvp2
> > # Réponse:
> > [dailymotion] Extracting URL:http://www.dailymotion.com/video/x9jtvp2
> > [dailymotion] Downloading Access Token
> > [dailymotion] x9jtvp2: Downloading media JSON metadata
> > [dailymotion] x9jtvp2: Downloading metadata JSON
> > [dailymotion] x9jtvp2: Downloading m3u8 information with randomized headers
> > [dailymotion] x9jtvp2: Retrying m3u8 download with Chrome impersonation
> > [dailymotion] x9jtvp2: Retrying m3u8 download with Firefox impersonation
> > [dailymotion] x9jtvp2: The extractor is attempting impersonation, but none of these impersonate targets are available:
> > firefox. Seehttps://github.com/yt-dlp/yt-dlp#impersonation for information on installing the required dependencies
> >
> > # Sortie !
> > $
> >
> > ###
> >
> > NB:
> > - je fais des maj régulières avec yt-dlp -U permises en tant que user.
> > - autre piste / appli la bienvenue!
> >
> > Bàv, Aldo.
> >
> import sys
> from pytubefix import YouTube
> from pytubefix.cli import on_progress
>
> url = sys.argv[1]
>
> yt = YouTube(url, on_progress_callback=on_progress)
>
> print(f"Téléchargement de : {yt.title}")
>
> # Commentez si vous ne souhaitez que le flux audio
> ys = yt.streams.get_highest_resolution()
>
> # Commentez si vous souhaitez vidéo et audio
> #ys = yt.streams.get_audio_only()
>
> ys.download()
--
| Verstuurd vanaf mijn GNU/Linux | Envoyé de mon GNU/Linux |
| ----------------- Sent from GNU/Linux ------------------ |
--
CBLX - CarrefourBLinuX MailingListe
Pour obtenir de l'aide, envoyez le sujet help à:
carrefourblinux-request@xxxxxxxxxxxxxxxxxxx
Archives:
http://listengine.tuxfamily.org/lists.tuxfamily.org/carrefourblinux
ou
http://www.mail-archive.com/carrefourblinux@xxxxxxxxxxxxxxxxxxx/