Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for DLF / Deutchlandfunk #22228

Open
3 tasks done
htgoebel opened this issue Aug 27, 2019 · 0 comments
Open
3 tasks done

Add support for DLF / Deutchlandfunk #22228

htgoebel opened this issue Aug 27, 2019 · 0 comments

Comments

@htgoebel
Copy link

Checklist

  • I'm reporting a site feature request
  • I've verified that I'm running youtube-dl version 2019.08.13
  • I've searched the bugtracker for similar site feature requests including closed ones

Description

Please add Support for Deutschlandfunk (DLF).

Example URL: https://www.deutschlandfunkkultur.de/demokratie-in-europa-antifaschismus-gehoert-nicht-in-die.1005.de.html?dram:article_id=443100 (audio should be available until 2038 ;-)

CSS path to relevant part (link to MP3): html body div#wrapper section#pageContent.drk-article div.text a.drk-articleplay.player-embed.justPlay. The MP3-URL is contained in the data-audio-src attribute.

<div class="text">
<a class="drk-articleplay player-embed justPlay"
data-audio-src="https://ondemand-mp3.dradio.de/file/dradio/2019/03/11/antifaschismus_gehoert_nicht_in_die_linke_ecke_drk_20190311_0720_81d20961.mp3"
data-audio-title="Antifaschismus gehört nicht in die linke Ecke"
data-audio-broadcast="Politisches Feuilleton"
data-audio-station-code="DRK"
data-audio-duration="248" data-audio-size="4011540" data-audio-diraid="81d20961" 
data-audio-delivery-mode="download"
data-audio-title-suffix="(Hören bis 19. Januar 2038 - 04:14 Uhr)">
Beitrag hören
</a>

For the cas youtube-dl shall also support "playlists": Just behind this MP3-link there is a script containing "podlove" information:

<script context="inline" class="podlove-subscribe-button" src="https://www.deutschlandfunkkultur.de/themes/dradio/script/podlove/javascripts/app.js" data-language="de" data-size="small" data-hide="true" data-json-data="podcastData_podlove" data-buttonid="podlove"></script> <script type="text/javascript"> window.podcastData_podlove = { "id": "podlove", "title": "Politisches Feuilleton", "subtitle": "", "cover": "https://www.deutschlandfunkkultur.de/media/files/f/fc597188e5452ede2a9d19f8e2cbc753v1.jpg", "feeds": [ { "type": "audio", "format": "mp3", "url": "https://www.deutschlandfunkkultur.de/podcast-politisches-feuilleton.1006.de.podcast.xml", "variant": "high" } ] }; </script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant