youtube-dl: RTS video channels have subtitles but ytdl does not support them

Checklist

  • [x ] I’m reporting a site feature request
  • [x ] I’ve verified that I’m running youtube-dl version 2019.06.08
  • [x ] I’ve searched the bugtracker for similar site feature requests including closed ones

Description

the rts.ch website has numerous video show channels and most of them have support for subtitles. for example if you play either of these two videos (from two different program channels on rts) in the browser you can see that you can enable and disable subtitles on the fly and that they are not hard coded / embedded in the video itself.

https://www.rts.ch/play/tv/passe-moi-les-jumelles/video/teddy-des-papillons-dans-les-yeux--bernard-sauveur-de-greniers?id=9524098

https://www.rts.ch/play/tv/temps-present/video/50-ans-les-romands-dans-loeil-de-temps-present-45-il-etait-une-fois-les-migrants-italiens?id=10421935

the problem is that when i try to use youtube-dl to get the subtitle files it can’t find them. is there a way to update the code to locate and retrieve the subtitle files b/c they are indeed there?

i’m using the latest version

 youtube-dl --version
2019.06.08

here’s the output from the command to list the subs for one of the videos above:

youtube-dl --list-subs https://www.rts.ch/play/tv/passe-moi-les-jumelles/video/teddy-des-papillons-dans-les-yeux--bernard-sauveur-de-greniers?id=9524098
[SRGSSR] 9524098: Downloading JSON metadata
[SRGSSR] 9524098: Downloading HTTP-HLS-HD token
[SRGSSR] 9524098: Downloading m3u8 information
[SRGSSR] 9524098: Downloading HTTP-HLS-SD token
[SRGSSR] 9524098: Downloading m3u8 information
[SRGSSR] 9524098: Downloading HTTP-HDS-HD token
[SRGSSR] 9524098: Downloading f4m manifest
WARNING: Unable to download f4m manifest: HTTP Error 404: Not Found
[SRGSSR] 9524098: Downloading HTTP-HDS-SD token
[SRGSSR] 9524098: Downloading f4m manifest
WARNING: Unable to download f4m manifest: HTTP Error 404: Not Found
9524098 has no subtitles

subtitle support has been lacking for rts.ch for at least 2 years. i’m just finally submitting a report

About this issue

  • Original URL
  • State: open
  • Created 5 years ago
  • Comments: 23 (9 by maintainers)

Commits related to this issue

Most upvoted comments

ok great. @goggle thx for the assistance today. i really appreciate it. i can finally start to work with certain subtitles that i haven’t been able to for quite some time. cheers!