ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
131.17k stars 9.93k forks source link

Video support for France Inter: www.franceinter.fr #15631

Open Nozalys opened 6 years ago

Nozalys commented 6 years ago

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.02.11. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

Before submitting an issue make sure you have:

What is the purpose of your issue?


Purpose: site support request

PS F:\Storage\Movies\Youtube> .\youtube-dl.exe -v https://www.franceinter.fr/emissions/l-instant-m/l-instant-m-13-fevrier-2018
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.franceinter.fr/emissions/l-instant-m/l-instant-m-13-fevrier-2018']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2018.02.11
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.16299
[debug] exe versions: none
[debug] Proxy map: {}
[FranceInter] l-instant-m/l-instant-m-13-fevrier-2018: Downloading webpage
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'https://media.radiofrance-podcast.net/podcast09/13938-13.02.2018-ITEMA_21586115-3.mp3'
[download] Propagande, stéréotypes, spectaculaire  - les jeux vidéo font-ils du mal à l'Histoire -l-instant-m_l-instant-m-13-fevrier-2018.mp3 has already been downloaded
[download] 100% of 18.99MiB
PS F:\Storage\Movies\Youtube>


Description of your issue, suggested solution and other information

Hello,

Some podcasts on the website of https://www.franceinter.fr comes with video (webcam record during the interview). Currently, youtube-dl does only download the audio file (.mp3) of the podcast.

Would it be possible to download the video file too ?

Best regards, Nozalys.

epostavs commented 6 years ago

I made a patch that extracts the Dailymotion embedded video (epostavs/youtube-dl@027a12c) but the problem is that it's not possible for the user to choose between the audio and the video. Ideally they would each be separate entries in the formats list, but the audio is from franceinter.fr and the video is from dailymotion.com, and currently it is not possible for an InfoExtractor to return multiple formats from different content providers.

dstftw commented 6 years ago

You are doing it wrong. You must return a playlist.

epostavs commented 6 years ago

Seems odd to use a playlist when both items are really the same thing. That would work though.

dstftw commented 6 years ago

They are separate embeds thus must be extracted separately. As well as two more embeds from this page.

Nozalys commented 6 years ago

Hi there ! So... what about the integration of the final solution ? Is it something possible with respect to the youtube-dl philosophy or not ?

Regards, Nozalys